summaryrefslogtreecommitdiff
path: root/xmobars.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xmobars.sh')
-rwxr-xr-xxmobars.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/xmobars.sh b/xmobars.sh
index e119eda..280d597 100755
--- a/xmobars.sh
+++ b/xmobars.sh
@@ -2,13 +2,19 @@
killall trayer
+if [[ $JAO_COLOR_SCHEME == dark ]]; then
+ alpha=255
+else
+ alpha=60
+fi
+
trayer --margin 2 --distancefrom left \
--distance 1 --edge top \
--align left --SetDockType true --SetPartialStrut false \
--widthtype request \
--height 21 --heighttype pixel \
--transparent true \
- --alpha 60 --padding 1 &
+ --alpha $alpha --padding 1 &
killall xmobar-exwm
xmobar-exwm $* &