diff options
Diffstat (limited to '.config/herbstluftwm/tray.sh')
-rwxr-xr-x | .config/herbstluftwm/tray.sh | 7 |
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 |