summaryrefslogtreecommitdiffhomepage
path: root/bin/xmobars.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/xmobars.sh')
-rwxr-xr-xbin/xmobars.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/xmobars.sh b/bin/xmobars.sh
new file mode 100755
index 0000000..751e3f2
--- /dev/null
+++ b/bin/xmobars.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+killall xmobar-top
+xmobar-top $* &
+killall xmobar-bottom
+if pidof spotify>/dev/null; then
+ xmobar-bottom $* spotify &
+else
+ xmobar-bottom $* mpd &
+fi
+
+killall trayer
+run-trayer.sh &