From c4d96716c05c41a3b18f2326cb588cd19246da5f Mon Sep 17 00:00:00 2001 From: zachir Date: Fri, 12 Aug 2022 04:30:51 -0500 Subject: initial commit --- mpdup | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 mpdup (limited to 'mpdup') diff --git a/mpdup b/mpdup new file mode 100755 index 0000000..2a89a43 --- /dev/null +++ b/mpdup @@ -0,0 +1,8 @@ +#!/sbin/sh + +# This loop will update the mpd statusbar module whenever a command changes the +# 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}" +done -- cgit v1.2.3