aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2015-06-15 23:34:15 -0700
committershmibs <shmibs@gmail.com>2015-06-15 23:34:15 -0700
commite2dce026efb837ce9be3418487c88f9d0fca698c (patch)
tree6c5ebbbe49b907d9396d04140142f3de76e83274 /.config/herbstluftwm
parent04ea964440221a09d9a66af52749287ddbf49315 (diff)
downloaddotfiles-e2dce026efb837ce9be3418487c88f9d0fca698c.tar.gz
allow for failed mpd
Diffstat (limited to '.config/herbstluftwm')
-rwxr-xr-x.config/herbstluftwm/panel.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh
index 7588e54..1a116e1 100755
--- a/.config/herbstluftwm/panel.sh
+++ b/.config/herbstluftwm/panel.sh
@@ -150,6 +150,9 @@ get_mpd() {
echo -e "mpd\tplaying"
fi
mpc idle player
+ if [[ $? ]]; then
+ break
+ fi
done
}