summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.scripts/i3mpdupdate1
1 files changed, 1 insertions, 0 deletions
diff --git a/.scripts/i3mpdupdate b/.scripts/i3mpdupdate
index 95f16f6..646b49e 100755
--- a/.scripts/i3mpdupdate
+++ b/.scripts/i3mpdupdate
@@ -3,6 +3,7 @@
[ "$(pgrep -x i3mpdupdate | wc -l)" -gt 2 ] && exit
while : ; do
+ pgrep -x mpd || exit
mpc idle > /dev/null
pkill -RTMIN+11 i3blocks ;
done