mo tmux stuff

pull/4/head
Gotbletu 11 years ago
parent f950c7bb59
commit b87d4b8555

@ -0,0 +1,36 @@
# social network; chatting
bind-key M-c new-window -n chat -c $HOME 'finch; $SHELL -i' \; \
split-window -v -p 50 -t 1 'weechat-curses; $SHELL -i' \; \
split-window -h -p 70 -t 1 'turses; $SHELL -i' \; \
select-pane -t 2
# local music and streaming
bind-key M-m new-window -n music -c $HOME 'figlet Radio ; $SHELL -i' \; \
split-window -v -p 50 -t 1 'cmus; $SHELL -i' \; \
split-window -h -p 70 -t 1 'figlet Search Music ;$SHELL -i' \; \
select-pane -t 2
# download and search torrent
bind-key M-t new-window -n torrent -c ~/Videos 'figlet Torrent - Flexget; $SHELL -i' \; \
split-window -v -p 50 -t 1 'transmission-remote-cli; $SHELL -i' \; \
select-pane -t 1
# launch with surfraw and look at computer stats
bind-key M-l new-window -n launch -c $HOME 'htop; $SHELL -i' \; \
split-window -v -p 50 -t 1 'figlet KeepassC; $SHELL -i' \; \
split-window -v -p 1 -t 2 '$SHELL -i' \; \
select-pane -t 3
# rss news and websites
bind-key M-n new-window -n news -c $HOME '$SHELL -i' \; \
split-window -v -p 50 -t 1 'newsbeuter; $SHELL -i' \; \
split-window -h -p 70 -t 1 'cortex; $SHELL -i' \; \
select-pane -t 2
# work
bind-key M-w new-window -n work -c $HOME 'figlet Workhorse; $SHELL -i' \; \
split-window -v -p 30 -t 1 'ranger ~/Documents; $SHELL -i' \; \
split-window -h -p 35 -t 1 'tty-clock -t; $SHELL -i' \; \
split-window -v -p 50 -t 3 'cmatrix; $SHELL -i' \; \
select-pane -t 2

@ -0,0 +1,14 @@
## for ~/.tmux.conf
# Urlviewer; grab links from any tmux window/pane and open it with external apps
# https://wiki.archlinux.org/index.php/Tmux#Browsing_URL.27s
bind-key u capture-pane \; save-buffer /tmp/tmux-buffer \; new-window -n "urlview" '$SHELL -c "urlview < /tmp/tmux-buffer"'
## for ~/.urlview
# set browser
# http://does-not-exist.org/mail-archives/mutt-users/msg18479.html
COMMAND exec >> /tmp/urlview.out 2>&1; set -x; firefox
Loading…
Cancel
Save