myhome/.local/bin/cmus-control

6 lines
146 B
Plaintext
Raw Normal View History

#!/bin/bash
pkill -RTMIN+11 dwmblocks
[ "$1" = "play" ] && cmus-remote -u
[ "$1" = "next" ] && cmus-remote -n
[ "$1" = "prev" ] && cmus-remote -r