Add per-screen dpi in Xresources

This commit is contained in:
Pavle Portic 2022-04-14 11:45:00 +02:00
parent 11f9d6b91c
commit e2b1b4fe9b
Signed by: TheEdgeOfRage
GPG Key ID: 66AD4BA646FBC0D2
1 changed files with 6 additions and 5 deletions

View File

@ -30,15 +30,16 @@
Xcursor.theme: Breeze
! Font options
Xft.autohint: 1
Xft.autohint: 0
Xft.antialias: 1
Xft.hinting: true
Xft.hintstyle: hintslight
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintfull
Xft.lcdfilter: lcddefault
{{ range $key, $val := .xresources.rgba }}
#if SCREEN_NUM == {{ $key }}
Xft.rgba: {{ $val }}
Xft.rgba: {{ $val.rgba }}
Xft.dpi: {{ $val.dpi }}
#endif
{{end}}