use scalable font, set Xft.dpi to 107 for non 4K displays

This commit is contained in:
2020-07-28 22:03:26 +02:00
parent 2980f360b9
commit 1d4f15f06b
3 changed files with 9 additions and 9 deletions

View File

@ -7,12 +7,13 @@ empty = ${xrdb:polybar.empty:#808080}
[bar/panel]
monitor = ${env:MONITOR:}
dpi = ${xrdb:Xft.dpi:160}
modules-left = bspwm xwindow
modules-right = mpd battery date
wm-restack = bspwm
enable-ipc = true
font-0 = ${xrdb:polybar.font:Iosevka:pixelsize=22:antialias=true:autohint=true;5}
height = ${xrdb:polybar.height:40}
font-0 = ${xrdb:polybar.font:Iosevka-13.5;5}
height = ${xrdb:polybar.height:35}
background = ${colors.background}
foreground = ${colors.foreground}
padding-left = 2