Created
August 15, 2011 02:15
Revisions
-
Percussor created this gist
Aug 15, 2011 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ #!/bin/bash HEIGHT=`stty size | cut -d" " -f1` WIDTH=`stty size | cut -d" " -f2` if [ $WIDTH -gt 320 ] then #Set-up for a small screen. tmux new -d -x $WIDTH -y $HEIGHT -s jonathan tmux select-layout tiled tmux split-window -d -h -l 80 #vim1 tmux split-window -d -h -l 80 #vim2 tmux split-window -d -v -p 30 irssi #irssi tmux split-window -d -v -p 50 tmux split-window -d -h -p 50 tmux select-pane -t 2 tmux split-window -d -h -p 50 tmux attach -t jonathan else #Set-up for a small screen. (not sure if this works over SSH, probably will) echo "Too small" fi