summaryrefslogtreecommitdiffhomepage
path: root/bin/toggle-xmobar-bottom.sh
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2019-01-05 23:10:18 +0000
committerjao <jao@gnu.org>2019-01-05 23:10:18 +0000
commit52611915c9bbf2fcb57e36195797fad223fc6350 (patch)
tree8c1b38359689823b4b823759a0fdedf0ce06d97e /bin/toggle-xmobar-bottom.sh
parentf754c1976c5953fe8026fd45d68bcfe2294cbf3f (diff)
downloadxmobar-config-52611915c9bbf2fcb57e36195797fad223fc6350.tar.gz
xmobar-config-52611915c9bbf2fcb57e36195797fad223fc6350.tar.bz2
Shell script launchers and GPMDP
Diffstat (limited to 'bin/toggle-xmobar-bottom.sh')
-rwxr-xr-xbin/toggle-xmobar-bottom.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/toggle-xmobar-bottom.sh b/bin/toggle-xmobar-bottom.sh
index e2c839c..b089adf 100755
--- a/bin/toggle-xmobar-bottom.sh
+++ b/bin/toggle-xmobar-bottom.sh
@@ -4,6 +4,8 @@ pidof xmobar-bottom && killall xmobar-bottom
if pidof spotify>/dev/null; then
xmobar-bottom $* spotify &
+elif pidof 'Google Play Music Desktop Player'>/dev/null; then
+ xmobar-bottom $* google-play-music-desktop-player &
else
xmobar-bottom $* mpd &
fi