From 80c57d09cab1eaedc09b85d7c21e629e3a6a796f Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 22 Dec 2018 02:50:31 +0000 Subject: trayer support and refactorings --- bin/run-trayer.sh | 18 +++++++++++++----- bin/xmobars.sh | 6 +++--- 2 files changed, 16 insertions(+), 8 deletions(-) (limited to 'bin') diff --git a/bin/run-trayer.sh b/bin/run-trayer.sh index c9fe71c..0b1a0fa 100755 --- a/bin/run-trayer.sh +++ b/bin/run-trayer.sh @@ -1,9 +1,17 @@ #!/bin/bash -trayer --margin 2 --distancefrom left\ - --distance 575 --edge top \ - --align left \ +# trayer --margin 2 --distancefrom left\ +# --distance 575 --edge top \ +# --align left \ +# --widthtype request \ +# --height 23 --heighttype pixel \ +# --transparent true\ +# --alpha 255 --padding 1 + +trayer --margin 2 --distancefrom left \ + --distance 1 --edge bottom \ + --align left --SetDockType true --SetPartialStrut false \ --widthtype request \ - --height 23 --heighttype pixel \ - --widthtype pixel --transparent true\ + --height 21 --heighttype pixel \ + --transparent true\ --alpha 255 --padding 1 diff --git a/bin/xmobars.sh b/bin/xmobars.sh index 751e3f2..ce94488 100755 --- a/bin/xmobars.sh +++ b/bin/xmobars.sh @@ -1,5 +1,8 @@ #!/bin/bash +killall trayer +run-trayer.sh & + killall xmobar-top xmobar-top $* & killall xmobar-bottom @@ -8,6 +11,3 @@ if pidof spotify>/dev/null; then else xmobar-bottom $* mpd & fi - -killall trayer -run-trayer.sh & -- cgit v1.2.3