move bar height to .Xresources where it is dpi dependent
This commit is contained in:
parent
e0c5b576e6
commit
710daef390
@ -1,8 +1,10 @@
|
||||
#if HEIGHT == 2160
|
||||
Xft.dpi: 160
|
||||
Xcursor.size: 48
|
||||
polybar.height: 40
|
||||
#else
|
||||
Xft.dpi: 107
|
||||
polybar.height: 30
|
||||
#endif
|
||||
|
||||
emacs.font: Iosevka Light-13.5
|
||||
|
@ -6,7 +6,6 @@ DEFAULT_THEME=lupan-dark
|
||||
|
||||
FONT='Iosevka Light-13.5'
|
||||
BAR_FONT="${FONT};5"
|
||||
BAR_HEIGHT=35
|
||||
|
||||
CMD="$1"
|
||||
shift
|
||||
@ -67,7 +66,6 @@ polybar.active: ${BAR_ACTIVE}
|
||||
polybar.urgent: ${BAR_URGENT}
|
||||
polybar.empty: ${BAR_EMPTY}
|
||||
polybar.font: ${BAR_FONT}
|
||||
polybar.height: ${BAR_HEIGHT}
|
||||
EOF
|
||||
polybar-msg cmd restart
|
||||
xsetroot -solid "${ROOT_BG}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user