aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/tray.sh
blob: c82e37d14acd7e42e9366c65f88e7ced4b844a0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
hc() { "${herbstclient_command[@]:-herbstclient}" "$@" ;}

source ~/.config/init/vars

run=""
while [ -z "$run" ]; do
	sleep .5
	run=$(ps -e | grep bar)
	echo "$run"
done

trayer --edge top --align right --heighttype pixel --height $bheight --widthtype pixel --width $bheight --distancefrom right --distance 4