Created
March 30, 2012 06:14
-
-
Save simon2k/2247405 to your computer and use it in GitHub Desktop.
tmux - sample script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tmux new-session -s main -n "Finch & Gmail" -d | |
tmux split-window -v -t main | |
tmux split-window -h -t main:1.0 | |
tmux split-window -h -t main:1.1 | |
tmux send-keys -t main:1.0 'finch' C-m | |
tmux send-keys -t main:1.1 'w3m mail.google.com/mail/u/0/?ui=html' C-m | |
tmux send-keys -t main:1.3 'mocp' C-m | |
tmux new-window -n Browser -t main | |
tmux send-keys -t main:2 'w3m google.com' C-m | |
tmux new-window -n Reader -t main | |
tmux send-keys -t main:3 'canto' C-m | |
tmux new-window -n System -t main | |
tmux split-window -h -t main:4 | |
tmux send-keys -t main:4.0 'top' C-m | |
tmux split-window -v -t main:4.1 | |
tmux send-keys -t main:4.1 'while [ true ]; do clear; sensors; sleep 1; done' C-m | |
tmux resize-pane -U -t main:4.2 25 | |
tmux select-window -t main:1 | |
tmux attach -t main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment