summaryrefslogtreecommitdiff
path: root/xmobars.sh
blob: 280d5972033c5c6b0b88643cbd864489ec9ee390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

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 $alpha --padding 1 &

killall xmobar-exwm
xmobar-exwm $* &