aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2015-07-04 03:08:31 -0700
committershmibs <shmibs@gmail.com>2015-07-04 03:08:31 -0700
commita459421d82cf6de64be597286d4e327902b8437e (patch)
tree644cebc42049350e9795b8b1d84bcbf1e1b85853
parent12dd80ae654d0eeb50db28ab7b69a70eca56cb3e (diff)
parente2dce026efb837ce9be3418487c88f9d0fca698c (diff)
downloaddotfiles-a459421d82cf6de64be597286d4e327902b8437e.tar.gz
Merge branch 'master' of https://github.com/shmibs/dotfiles
-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
}