aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/tray.sh
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2014-02-11 20:47:36 -0700
committershmibs <shmibs@gmail.com>2014-02-11 20:47:36 -0700
commit597d87abf48838c7cbe27d71aa15943ba90840a4 (patch)
treea719e4c200eab0ed0f73bd8ffdeda8d7cd76b5f9 /.config/herbstluftwm/tray.sh
parentae1b43aa519aa400aa6c8aba3b459bba2fc14a7e (diff)
downloaddotfiles-597d87abf48838c7cbe27d71aa15943ba90840a4.tar.gz
AWESOME → HERBSTLUFTWM
i was getting sick of dealing with awesome's steaming pile of lua, and this seems to be a pretty nice alternative =)
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