From ac38d2306bd78bfd53e95aa93f323b254b70aac9 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 13 Aug 2022 00:58:03 -0500 Subject: use sigdwmb to signal dwmblocks, rather than pkill --- mpdup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpdup') diff --git a/mpdup b/mpdup index 2a89a43..ca56b4a 100755 --- a/mpdup +++ b/mpdup @@ -4,5 +4,5 @@ # music player's status. mpd must be running on X's start for this to work. while true ; do - mpc idle >/dev/null && pkill -RTMIN+11 "${STATUSBAR:-dwmblocks}" + mpc idle >/dev/null && sigdwmb music done -- cgit v1.2.3