minor changes
[dotfiles.git] / music / .local / bin / music_toggle
1 #!/bin/sh
2 if quodlibet --status
3 then
4 quodlibet --play-pause
5 elif mpc status
6 then
7 mpc toggle
8 elif cmus-remote -Q
9 then
10 cmus-remote --pause
11 else
12 echo "$(date) $0: no music player detected"
13 fi