From aa3f11586147f2a9528e59688a6607d386d2b818 Mon Sep 17 00:00:00 2001 From: Jackson Taylor Date: Mon, 1 Feb 2021 19:04:54 -0500 Subject: Add local bin folder --- .local/bin/mpdup | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .local/bin/mpdup (limited to '.local/bin/mpdup') diff --git a/.local/bin/mpdup b/.local/bin/mpdup new file mode 100755 index 0000000..af81a7d --- /dev/null +++ b/.local/bin/mpdup @@ -0,0 +1,8 @@ +#!/bin/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 : ; do + mpc idle >/dev/null && kill -45 "$(pidof "${STATUSBAR:-dwmblocks}")" || break +done -- cgit v1.2.3