summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryushyin <yushyin@saga>2019-06-11 11:59:22 +0200
committeryushyin <yushyin@saga>2019-06-11 11:59:22 +0200
commit49cbad5ef3b766984fb4526003e15b24629a0767 (patch)
tree0dca22a306982ebe7a1e42852cc8f903c6be8345
parent886d81da0167b02f9c767b9032494d47df1bf648 (diff)
downloaddotfiles-igor-49cbad5ef3b766984fb4526003e15b24629a0767.tar.gz
dotfiles-igor-49cbad5ef3b766984fb4526003e15b24629a0767.tar.xz
hlwm panel
-rwxr-xr-xherbstluftwm/files/panel.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/herbstluftwm/files/panel.sh b/herbstluftwm/files/panel.sh
index 37d6ddf..14bfa39 100755
--- a/herbstluftwm/files/panel.sh
+++ b/herbstluftwm/files/panel.sh
@@ -17,11 +17,13 @@ fi
x=${geometry[0]}
y=${geometry[1]}
panel_width=${geometry[2]}
-panel_height=16
font="-*-fixed-medium-*-*-*-13-*-*-*-*-*-*-*"
+panel_height=18
bgcolor=$(hc get frame_border_normal_color)
selbg=$(hc get window_border_active_color)
selfg='#101010'
+unfoc_mon_bg=$(hc get frame_bg_active_color)
+urgent_tag_bg=$(hc get window_border_urgent_color)
####
# Try to find textwidth binary.
@@ -88,6 +90,7 @@ hc pad $monitor $panel_height
# This part prints dzen data based on the _previous_ data handling run,
# and then waits for the next event to happen.
+ bordercolor="#26221C"
separator="^bg()^fg($selbg)|"
# draw tags
for i in "${tags[@]}" ; do
@@ -96,13 +99,13 @@ hc pad $monitor $panel_height
echo -n "^bg($selbg)^fg($selfg)"
;;
'+')
- echo -n "^bg(#9CA668)^fg(#141414)"
+ echo -n "^bg($unfoc_mon_bg)^fg(#141414)"
;;
':')
echo -n "^bg()^fg(#ffffff)"
;;
'!')
- echo -n "^bg(#FF0675)^fg(#141414)"
+ echo -n "^bg($urgent_tag_bg)^fg(#141414)"
;;
*)
echo -n "^bg()^fg(#ababab)"