From 597d87abf48838c7cbe27d71aa15943ba90840a4 Mon Sep 17 00:00:00 2001 From: shmibs Date: Tue, 11 Feb 2014 20:47:36 -0700 Subject: =?UTF-8?q?AWESOME=20=E2=86=92=20HERBSTLUFTWM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit i was getting sick of dealing with awesome's steaming pile of lua, and this seems to be a pretty nice alternative =) --- .config/herbstluftwm/tray.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 .config/herbstluftwm/tray.sh (limited to '.config/herbstluftwm/tray.sh') 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 -- cgit v1.2.3