myhome/.local/bin/cmus-control
Marcin Woźniak b82dc58f26
Added programs
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
2021-03-22 21:27:54 +01:00

6 lines
146 B
Bash
Executable File

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