aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/tray.sh
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2014-07-03 11:26:07 -0700
committershmibs <shmibs@gmail.com>2014-07-03 11:26:07 -0700
commitb30acd13148b4b5174331580678bb5b0ce26e027 (patch)
tree8d5b0763fa2dba300b86548e7c843f99f89090d3 /.config/herbstluftwm/tray.sh
parent5868104f033ebf2ffceb7458baeaa748574ce310 (diff)
downloaddotfiles-b30acd13148b4b5174331580678bb5b0ce26e027.tar.gz
complete theme revamp
switched to bar, changed term colours, and added a config_vars file to make sourcing theme colours / fonts / etc easier
Diffstat (limited to '.config/herbstluftwm/tray.sh')
-rwxr-xr-x.config/herbstluftwm/tray.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/.config/herbstluftwm/tray.sh b/.config/herbstluftwm/tray.sh
index cef5fb5..61e6310 100755
--- a/.config/herbstluftwm/tray.sh
+++ b/.config/herbstluftwm/tray.sh
@@ -1,12 +1,13 @@
#!/bin/bash
hc() { "${herbstclient_command[@]:-herbstclient}" "$@" ;}
-bgcolor=$(hc get frame_border_normal_color)
+
+source ~/.config/herbstluftwm/config_vars
run=""
while [ -z "$run" ]; do
sleep .5
- run=$(ps -e | grep dzen2)
+ run=$(ps -e | grep bar)
echo "$run"
done
-trayer --edge top --align right --heighttype pixel --height 18 --widthtype pixel --width 18 --distancefrom right --distance 4
+trayer --edge top --align right --heighttype pixel --height $bheight --widthtype pixel --width $bheight --distancefrom right --distance 4