summaryrefslogtreecommitdiff
path: root/xmobars.sh
blob: 55415ef9dd84b8a8972db4f6014dc415d43b9ab8 (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-single
xmobar-single $* &