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
|
#if HEIGHT == 2160
|
||||||
Xft.dpi: 160
|
Xft.dpi: 160
|
||||||
Xcursor.size: 48
|
Xcursor.size: 48
|
||||||
|
polybar.height: 40
|
||||||
#else
|
#else
|
||||||
Xft.dpi: 107
|
Xft.dpi: 107
|
||||||
|
polybar.height: 30
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
emacs.font: Iosevka Light-13.5
|
emacs.font: Iosevka Light-13.5
|
||||||
|
@ -6,7 +6,6 @@ DEFAULT_THEME=lupan-dark
|
|||||||
|
|
||||||
FONT='Iosevka Light-13.5'
|
FONT='Iosevka Light-13.5'
|
||||||
BAR_FONT="${FONT};5"
|
BAR_FONT="${FONT};5"
|
||||||
BAR_HEIGHT=35
|
|
||||||
|
|
||||||
CMD="$1"
|
CMD="$1"
|
||||||
shift
|
shift
|
||||||
@ -67,7 +66,6 @@ polybar.active: ${BAR_ACTIVE}
|
|||||||
polybar.urgent: ${BAR_URGENT}
|
polybar.urgent: ${BAR_URGENT}
|
||||||
polybar.empty: ${BAR_EMPTY}
|
polybar.empty: ${BAR_EMPTY}
|
||||||
polybar.font: ${BAR_FONT}
|
polybar.font: ${BAR_FONT}
|
||||||
polybar.height: ${BAR_HEIGHT}
|
|
||||||
EOF
|
EOF
|
||||||
polybar-msg cmd restart
|
polybar-msg cmd restart
|
||||||
xsetroot -solid "${ROOT_BG}"
|
xsetroot -solid "${ROOT_BG}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user