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

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

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