diff options
author | shmibs <shmibs@gmail.com> | 2015-06-15 23:34:15 -0700 |
---|---|---|
committer | shmibs <shmibs@gmail.com> | 2015-06-15 23:34:15 -0700 |
commit | e2dce026efb837ce9be3418487c88f9d0fca698c (patch) | |
tree | 6c5ebbbe49b907d9396d04140142f3de76e83274 /.config | |
parent | 04ea964440221a09d9a66af52749287ddbf49315 (diff) | |
download | dotfiles-e2dce026efb837ce9be3418487c88f9d0fca698c.tar.gz |
allow for failed mpd
Diffstat (limited to '.config')
-rwxr-xr-x | .config/herbstluftwm/panel.sh | 3 |
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 } |