diff options
author | jao <jao@gnu.org> | 2019-01-05 23:10:18 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2019-01-05 23:10:18 +0000 |
commit | 52611915c9bbf2fcb57e36195797fad223fc6350 (patch) | |
tree | 8c1b38359689823b4b823759a0fdedf0ce06d97e /bin | |
parent | f754c1976c5953fe8026fd45d68bcfe2294cbf3f (diff) | |
download | xmobar-config-52611915c9bbf2fcb57e36195797fad223fc6350.tar.gz xmobar-config-52611915c9bbf2fcb57e36195797fad223fc6350.tar.bz2 |
Shell script launchers and GPMDP
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/toggle-xmobar-bottom.sh | 2 | ||||
-rwxr-xr-x | bin/xmobars.sh | 8 |
2 files changed, 4 insertions, 6 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 diff --git a/bin/xmobars.sh b/bin/xmobars.sh index ce94488..ff9ce87 100755 --- a/bin/xmobars.sh +++ b/bin/xmobars.sh @@ -5,9 +5,5 @@ run-trayer.sh & killall xmobar-top xmobar-top $* & -killall xmobar-bottom -if pidof spotify>/dev/null; then - xmobar-bottom $* spotify & -else - xmobar-bottom $* mpd & -fi +toggle-xmobar-bottom.sh + |