diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-02-01 17:49:22 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-02-01 17:49:22 -0500 |
| commit | 540c4dbb27cf3886109608de65c70e2d248474c2 (patch) | |
| tree | d0ba56a7de2b2a5f8c8e365510ce9124f408cca6 /.scripts/statusbar | |
| parent | 2f2e45cbe4ce2d9fd9a295c983fad2158574261b (diff) | |
| download | eibhear-540c4dbb27cf3886109608de65c70e2d248474c2.tar.gz eibhear-540c4dbb27cf3886109608de65c70e2d248474c2.tar.zst eibhear-540c4dbb27cf3886109608de65c70e2d248474c2.zip | |
mpdupdate fix?
Diffstat (limited to '.scripts/statusbar')
| -rwxr-xr-x | .scripts/statusbar/mpdupdate | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.scripts/statusbar/mpdupdate b/.scripts/statusbar/mpdupdate index 84c7ab1..9a57ca4 100755 --- a/.scripts/statusbar/mpdupdate +++ b/.scripts/statusbar/mpdupdate @@ -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 ; |
