From e2dce026efb837ce9be3418487c88f9d0fca698c Mon Sep 17 00:00:00 2001 From: shmibs Date: Mon, 15 Jun 2015 23:34:15 -0700 Subject: allow for failed mpd --- .config/herbstluftwm/panel.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to '.config/herbstluftwm') 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 } -- cgit v1.2.3