parent
45f33d68fc
commit
e2d73d9329
@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
if [[ -z ${TMUX} ]]; then
|
||||||
|
tmux -f "/usr/local/etc/mbrow-tmux.conf" new-session -A -s mbrowsession \; new-window /usr/local/bin/mbrow.sh "$@"
|
||||||
|
else
|
||||||
|
tmux new-window bash -c "/usr/local/bin/mbrow.sh"
|
||||||
|
fi
|
@ -0,0 +1,13 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=mbrow.sh
|
||||||
|
Comment=Browse the World Wide Web
|
||||||
|
GenericName=Web Browser
|
||||||
|
X-GNOME-FullName=Minimal Browser in Bash
|
||||||
|
Exec=/usr/local/bin/mbrow %u;$SHELL
|
||||||
|
Terminal=true
|
||||||
|
X-MultipleArgs=false
|
||||||
|
Type=Application
|
||||||
|
Icon=firefox-esr
|
||||||
|
Categories=Network;WebBrowser;
|
||||||
|
MimeType=x-scheme-handler/mbrows;
|
||||||
|
StartupNotify=true
|
@ -0,0 +1,11 @@
|
|||||||
|
# remap prefix from 'C-b' to 'C-a'
|
||||||
|
unbind C-b
|
||||||
|
set-option -g prefix C-a
|
||||||
|
bind-key C-a send-prefix
|
||||||
|
# bind alt to copymode
|
||||||
|
# List of plugins
|
||||||
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-open'
|
||||||
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
|
run '~/.tmux/plugins/tpm/tpm'
|
Loading…
Reference in new issue