mpdupdate fix?
This commit is contained in:
parent
2f2e45cbe4
commit
540c4dbb27
1 changed files with 1 additions and 2 deletions
|
@ -1,8 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
[ "$(pgrep -x "$(basename "$0")" | wc -l)" -gt 2 ] && exit
|
[ "$(pgrep -x "$(basename "$0")" | wc -l)" -gt 2 ] && exit
|
||||||
|
|
||||||
while : ; do
|
sleep 5 && while : ; do
|
||||||
pgrep -x mpd || exit
|
pgrep -x mpd || exit
|
||||||
mpc idle > /dev/null
|
mpc idle > /dev/null
|
||||||
pkill -RTMIN+11 i3blocks ;
|
pkill -RTMIN+11 i3blocks ;
|
||||||
|
|
Loading…
Reference in a new issue