aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/tray.sh
blob: 7a7ee012f385b1ea8e74ca499f095818c99e7134 (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

stalonetray -bg "$bgcolor" --window-layer top --geometry 1x1+1752+1 --max-geometry 1752x18 --grow-gravity E -i 16 --kludges force_icons_size