11 lines
208 B
Bash
Executable file
11 lines
208 B
Bash
Executable file
#!/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
|