From ba47b9b00d4b508e5dcc6d6dd115ba99e12d6e33 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Wed, 19 Aug 2020 23:00:59 +0100 Subject: [PATCH] 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 --- polybar/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/polybar/config b/polybar/config index 9cb6904..1ce75e3 100644 --- a/polybar/config +++ b/polybar/config @@ -27,8 +27,8 @@ height = 16pt bottom = true radius = 0 -font-0 = sans:pixelsize=9;2 -font-1 = FontAwesome5ProLight:pixelsize=10;2 +font-0 = sans:pixelsize=9;2pt +font-1 = FontAwesome5ProLight:pixelsize=10;2pt foreground = ${colours.text} background = ${colours.background} @@ -54,7 +54,7 @@ tray-detached = false tray-background = ${colours.background} #tray-offset-x = -20 #tray-offset-y = 0 -tray-maxsize = 16 +tray-maxsize = 12pt tray-padding = 8pt tray-scale = 1.0