da79881d2f07d36d103c548f8d6e72542e759b80
- Author
- Pavle Portic <git@theedgeofrage.com>
- Committer
- Pavle Portic <git@theedgeofrage.com>
- Date
Message
Add font hinting options to Xresources
Diff
1diff --git a/dot_Xresources b/dot_Xresources.tmpl
2rename from dot_Xresources
3rename to dot_Xresources.tmpl
4index 129c7867f7a74b8428747fea309b86fb80ee1c62..1a3d793f9ac0072468cfb9bc0920c14a28ff61c1 100644
5--- a/dot_Xresources
6+++ b/dot_Xresources.tmpl
7@@ -27,4 +27,18 @@
8 *color7: #dbae93
9 *color15: #fbf1c7
10
11-Xcursor.theme: Human
12+Xcursor.theme: Breeze
13+
14+! Font options
15+Xft.autohint: 1
16+Xft.antialias: 1
17+Xft.hinting: true
18+Xft.hintstyle: hintslight
19+Xft.dpi: 96
20+Xft.lcdfilter: lcddefault
21+
22+{{ range $key, $val := .xresources.rgba }}
23+#if SCREEN_NUM == {{ $key }}
24+Xft.rgba: {{ $val }}
25+#endif
26+{{end}}