From 754ed5d7c3061c546b4bdbb685bdd73679e04080 Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 19 Dec 2018 01:14:45 +0000 Subject: Shell scripts --- bin/xmobars.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 bin/xmobars.sh (limited to 'bin/xmobars.sh') 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 & -- cgit v1.2.3