From 52611915c9bbf2fcb57e36195797fad223fc6350 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 5 Jan 2019 23:10:18 +0000 Subject: Shell script launchers and GPMDP --- bin/toggle-xmobar-bottom.sh | 2 ++ bin/xmobars.sh | 8 ++------ 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'bin') 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 + -- cgit v1.2.3