1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

polybar: scale font & tray icons with dpi

This is using my hacked branch of polybar, but it works well enough.
Padding isn't properly scaled, though.

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
Joe Groocock 2020-08-19 23:00:59 +01:00
parent cdbe8ce855
commit ba47b9b00d
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -27,8 +27,8 @@ height = 16pt
bottom = true bottom = true
radius = 0 radius = 0
font-0 = sans:pixelsize=9;2 font-0 = sans:pixelsize=9;2pt
font-1 = FontAwesome5ProLight:pixelsize=10;2 font-1 = FontAwesome5ProLight:pixelsize=10;2pt
foreground = ${colours.text} foreground = ${colours.text}
background = ${colours.background} background = ${colours.background}
@ -54,7 +54,7 @@ tray-detached = false
tray-background = ${colours.background} tray-background = ${colours.background}
#tray-offset-x = -20 #tray-offset-x = -20
#tray-offset-y = 0 #tray-offset-y = 0
tray-maxsize = 16 tray-maxsize = 12pt
tray-padding = 8pt tray-padding = 8pt
tray-scale = 1.0 tray-scale = 1.0