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.
22 lines
517 B
22 lines
517 B
#!/bin/bash |
|
|
|
# if called from a tmux session, set up panes for dev window |
|
if [ -n "$TMUX_PANE" ]; then |
|
tmux rename-window dev |
|
tmux splitw -h |
|
tmux selectp -t 0 |
|
tmux resizep -x 83 |
|
tmux splitw -v -l 15 |
|
tmux selectp -t 0 |
|
clear |
|
# create a new default session |
|
else |
|
SESSION='default' |
|
tmux -2 -CC new -s $SESSION |
|
#tmux -CC rename-window -t $SESSION powermate |
|
#tmux send-keys -t $SESSION 'powermate_pactl.py' C-m |
|
tmux -CC new-window -n dev -t $SESSION |
|
tmux -CC new-window -t $SESSION |
|
tmux attach -t $SESSION |
|
fi |
|
|
|
|