mpdupdate fix?

This commit is contained in:
Luke Smith 2019-02-01 17:49:22 -05:00
parent c44547950a
commit c0fa21b862
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -1,8 +1,7 @@
#!/bin/sh
[ "$(pgrep -x "$(basename "$0")" | wc -l)" -gt 2 ] && exit
while : ; do
sleep 5 && while : ; do
pgrep -x mpd || exit
mpc idle > /dev/null
pkill -RTMIN+11 i3blocks ;