From 49cbad5ef3b766984fb4526003e15b24629a0767 Mon Sep 17 00:00:00 2001 From: yushyin Date: Tue, 11 Jun 2019 11:59:22 +0200 Subject: hlwm panel --- herbstluftwm/files/panel.sh | 9 ++++++--- 1 file 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)" -- cgit v1.2.3-24-g4f1b