|
|
|
@ -1,6 +1,11 @@ |
|
|
|
#!/usr/bin/env sh |
|
|
|
#!/usr/bin/env sh |
|
|
|
|
|
|
|
|
|
|
|
wmctrl -r :ACTIVE: -e 0,1265,0,1290,1379 |
|
|
|
# 1440p |
|
|
|
|
|
|
|
#wmctrl -r :ACTIVE: -e 0,1265,0,1290,1379 |
|
|
|
|
|
|
|
# 1080p |
|
|
|
|
|
|
|
wmctrl -r :ACTIVE: -e '0,1005,0,906,1026' |
|
|
|
|
|
|
|
# ??p |
|
|
|
|
|
|
|
#wmctrl -r :ACTIVE: -e 0,615,0,1938,1378 |
|
|
|
|
|
|
|
|
|
|
|
SESSION='dev' |
|
|
|
SESSION='dev' |
|
|
|
|
|
|
|
|
|
|
|
@ -11,22 +16,7 @@ if [ ! -n "$TMUX_PANE" ]; then |
|
|
|
# tmux splitw -v -l 60 -t $SESSION |
|
|
|
# tmux splitw -v -l 60 -t $SESSION |
|
|
|
# tmux send-keys -t $SESSION "vim" Enter |
|
|
|
# tmux send-keys -t $SESSION "vim" Enter |
|
|
|
# tmux send-keys -t $SESSION ":80vs" Enter |
|
|
|
# tmux send-keys -t $SESSION ":80vs" Enter |
|
|
|
# tmux attach -t $SESSION |
|
|
|
# tmux resizep -x 161 -t $SESSION |
|
|
|
else |
|
|
|
|
|
|
|
echo "don't run in tmux session" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#wmctrl -r :ACTIVE: -e 0,615,0,1938,1378 |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
#SESSION='dev' |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
#if [ ! -n "$TMUX_PANE" ]; then |
|
|
|
|
|
|
|
# tmux -2 new -s $SESSION -d |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
# tmux rename-window -t $SESSION dev |
|
|
|
|
|
|
|
# tmux splitw -h -t $SESSION |
|
|
|
|
|
|
|
# tmux send-keys -t $SESSION "vim" Enter |
|
|
|
|
|
|
|
# tmux selectp -t 0 |
|
|
|
# tmux selectp -t 0 |
|
|
|
# tmux resizep -x 80 -t $SESSION |
|
|
|
# tmux resizep -x 80 -t $SESSION |
|
|
|
# tmux splitw -v -l 24 -t $SESSION |
|
|
|
# tmux splitw -v -l 24 -t $SESSION |
|
|
|
@ -34,6 +24,6 @@ fi |
|
|
|
# |
|
|
|
# |
|
|
|
# tmux send-keys -t $SESSION ":80vs" Enter |
|
|
|
# tmux send-keys -t $SESSION ":80vs" Enter |
|
|
|
# tmux attach -t $SESSION |
|
|
|
# tmux attach -t $SESSION |
|
|
|
#else |
|
|
|
else |
|
|
|
# echo "don't run in tmux session" |
|
|
|
echo "don't run in tmux session" |
|
|
|
#fi |
|
|
|
fi |
|
|
|
|