11 lines
208 B
Plaintext
11 lines
208 B
Plaintext
|
#!/usr/bin/env zsh
|
||
|
|
||
|
(( height = $LINES - 3))
|
||
|
|
||
|
tmux new-session -d -s player 'watch -t -n 1 mpc status'
|
||
|
tmux split-window;
|
||
|
tmux select-pane -t 1;
|
||
|
tmux resize-pane -y $height;
|
||
|
tmux send 'mp' ENTER;
|
||
|
tmux attach
|