summaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2019-01-27 23:12:27 +0000
committerjao <jao@gnu.org>2019-01-27 23:12:27 +0000
commit09141b9a589404fbfa1fabb34c458c7d03edd3f9 (patch)
tree04b3879beaf501304e7c9c07ebe34dfa3a60b194 /bin
parent78bcb8c73ffb1b09b379ea0bbd7e68f2d84e187e (diff)
downloadxmobar-config-09141b9a589404fbfa1fabb34c458c7d03edd3f9.tar.gz
xmobar-config-09141b9a589404fbfa1fabb34c458c7d03edd3f9.tar.bz2
Using monitor combiners to auto-switch mpd/mpris
Diffstat (limited to 'bin')
-rwxr-xr-xbin/toggle-xmobar-bottom.sh2
-rwxr-xr-xbin/xmobars.sh1
2 files changed, 1 insertions, 2 deletions
diff --git a/bin/toggle-xmobar-bottom.sh b/bin/toggle-xmobar-bottom.sh
index b089adf..17abb3e 100755
--- a/bin/toggle-xmobar-bottom.sh
+++ b/bin/toggle-xmobar-bottom.sh
@@ -7,5 +7,5 @@ if pidof spotify>/dev/null; then
elif pidof 'Google Play Music Desktop Player'>/dev/null; then
xmobar-bottom $* google-play-music-desktop-player &
else
- xmobar-bottom $* mpd &
+ xmobar-bottom $* &
fi
diff --git a/bin/xmobars.sh b/bin/xmobars.sh
index ff9ce87..4b49f08 100755
--- a/bin/xmobars.sh
+++ b/bin/xmobars.sh
@@ -6,4 +6,3 @@ run-trayer.sh &
killall xmobar-top
xmobar-top $* &
toggle-xmobar-bottom.sh
-