aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/tray.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/herbstluftwm/tray.sh')
-rwxr-xr-x.config/herbstluftwm/tray.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/herbstluftwm/tray.sh b/.config/herbstluftwm/tray.sh
new file mode 100755
index 0000000..7a7ee01
--- /dev/null
+++ b/.config/herbstluftwm/tray.sh
@@ -0,0 +1,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