Update hlwm panel
- Use lemonbar-xft instead of lemonbar - Use the same font sizing than in ~/.Xdefaults
This commit is contained in:
parent
776714b53c
commit
dda3865373
@ -168,7 +168,7 @@ if [ -f ~/.config/herbstluftwm/herbstpanel.sh ]; then
|
||||
hc pad "$m" 0 0 $bar_height 0
|
||||
hc monitor_rect "$m" | {
|
||||
read -r x y w h
|
||||
y=$(($y + $h - $bar_height - 1))
|
||||
y=$(($y + $h - $bar_height))
|
||||
printf "%s\t%u\t%u\t%u\t%u\n" \
|
||||
"$m" "$x" "$y" "$w" $bar_height
|
||||
}
|
||||
|
@ -75,9 +75,9 @@ while IFS=" " read -r m x y w h; do
|
||||
;;
|
||||
esac
|
||||
printf "%s%s%s\n" "$left" "$center" "$right"
|
||||
done | lemonbar -g "$w"x"$h"+"$x"+"$y" \
|
||||
done | lemonbar-xft -g "$w"x"$h"+"$x"+"$y" \
|
||||
-B "$hlwm_background" -F "$hlwm_foreground" \
|
||||
-f "$hlwm_font" | sh &
|
||||
-f "$hlwm_face" | sh &
|
||||
done
|
||||
herbstclient -w reload >/dev/null
|
||||
kill 0
|
||||
|
@ -29,6 +29,6 @@
|
||||
: ${hlwm_foreground="#fffcf2"}
|
||||
|
||||
: ${hlwm_font="-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1"}
|
||||
: ${hlwm_face="monospace:pixelsize=12"}
|
||||
: ${hlwm_face="monospace:size=10.5"}
|
||||
|
||||
: ${hlwm_font_height=14}
|
||||
: ${hlwm_font_height=17}
|
||||
|
Loading…
Reference in New Issue
Block a user