summaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-12-22 02:50:31 +0000
committerjao <jao@gnu.org>2018-12-22 02:50:31 +0000
commit80c57d09cab1eaedc09b85d7c21e629e3a6a796f (patch)
tree8832d47a418a89be1977da05a4011f41d1c73bba /bin
parentecaa36aeb057cad86766b9ce537d0977e98f59e2 (diff)
downloadxmobar-config-80c57d09cab1eaedc09b85d7c21e629e3a6a796f.tar.gz
xmobar-config-80c57d09cab1eaedc09b85d7c21e629e3a6a796f.tar.bz2
trayer support and refactorings
Diffstat (limited to 'bin')
-rwxr-xr-xbin/run-trayer.sh18
-rwxr-xr-xbin/xmobars.sh6
2 files changed, 16 insertions, 8 deletions
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 &