summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-08-13 00:58:03 -0500
committerzachir <zachir@librem.one>2022-08-13 00:58:03 -0500
commitac38d2306bd78bfd53e95aa93f323b254b70aac9 (patch)
treee4ea1a210021fe10fb9041375993131564b69038
parent0e684f89006ba2b7daa223f0b8c709602ad6a7db (diff)
use sigdwmb to signal dwmblocks, rather than pkill
-rwxr-xr-xmpdup2
-rwxr-xr-xxidletog2
2 files changed, 2 insertions, 2 deletions
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
diff --git a/xidletog b/xidletog
index 19ca5f9..b5e996c 100755
--- a/xidletog
+++ b/xidletog
@@ -10,4 +10,4 @@ else
xset s on
fi
-pkill -RTMIN+19 dwmblocks
+sigdwmb xidlechk