i3mpdupate w/o mpd fix
This commit is contained in:
parent
74d169974a
commit
98abc09217
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
[ "$(pgrep -x i3mpdupdate | wc -l)" -gt 2 ] && exit
|
[ "$(pgrep -x i3mpdupdate | wc -l)" -gt 2 ] && exit
|
||||||
|
|
||||||
while : ; do
|
while : ; do
|
||||||
|
pgrep -x mpd || exit
|
||||||
mpc idle > /dev/null
|
mpc idle > /dev/null
|
||||||
pkill -RTMIN+11 i3blocks ;
|
pkill -RTMIN+11 i3blocks ;
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue