You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
816 B
39 lines
816 B
#!/usr/bin/env sh |
|
|
|
wmctrl -r :ACTIVE: -e 0,1265,0,1290,1379 |
|
|
|
SESSION='dev' |
|
|
|
if [ ! -n "$TMUX_PANE" ]; then |
|
tmux -2 new -s $SESSION -d |
|
|
|
# tmux rename-window -t $SESSION dev |
|
# tmux splitw -v -l 60 -t $SESSION |
|
# tmux send-keys -t $SESSION "vim" Enter |
|
# tmux send-keys -t $SESSION ":80vs" Enter |
|
# tmux attach -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 resizep -x 80 -t $SESSION |
|
# tmux splitw -v -l 24 -t $SESSION |
|
# tmux selectp -t 2 |
|
# |
|
# tmux send-keys -t $SESSION ":80vs" Enter |
|
# tmux attach -t $SESSION |
|
#else |
|
# echo "don't run in tmux session" |
|
#fi
|
|
|