i3mpdupdate fix

This commit is contained in:
Luke Smith
2018-08-16 13:23:38 -04:00
parent 39c41211dc
commit 74d169974a
2 changed files with 5 additions and 2 deletions

View File

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