From da79881d2f07d36d103c548f8d6e72542e759b80 Mon Sep 17 00:00:00 2001 From: Pavle Portic Date: Wed, 17 Nov 2021 13:10:22 +0100 Subject: [PATCH] Add font hinting options to Xresources --- dot_Xresources => dot_Xresources.tmpl | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) rename dot_Xresources => dot_Xresources.tmpl (60%) diff --git a/dot_Xresources b/dot_Xresources.tmpl similarity index 60% rename from dot_Xresources rename to dot_Xresources.tmpl index 129c786..1a3d793 100644 --- a/dot_Xresources +++ b/dot_Xresources.tmpl @@ -27,4 +27,18 @@ *color7: #dbae93 *color15: #fbf1c7 -Xcursor.theme: Human +Xcursor.theme: Breeze + +! Font options +Xft.autohint: 1 +Xft.antialias: 1 +Xft.hinting: true +Xft.hintstyle: hintslight +Xft.dpi: 96 +Xft.lcdfilter: lcddefault + +{{ range $key, $val := .xresources.rgba }} +#if SCREEN_NUM == {{ $key }} +Xft.rgba: {{ $val }} +#endif +{{end}}