diff options
author | Vincent Ambo <mail@tazj.in> | 2020-08-18T22·51+0100 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2020-08-19T00·11+0000 |
commit | b0511484732a2d34c725ba747ea8400a678f1ef8 (patch) | |
tree | fbdd31cef4822ece1ad9306bdaa1c86cb781046f /users/tazjin | |
parent | 32d9e6c8d00e29af708f6dd61882ef60a98fbdd0 (diff) |
fix(tazjin/emacs): Use 'Semi Light' font weight on frog r/1677
The font weight rendering issue on frog is, for now, undefeatable and I'm resorting to just using a lighter font base weight which makes it possible to actually see bold things. Change-Id: Ida10f2e8d728039c9ab76bfab1fd0d36340fbac7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1785 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
Diffstat (limited to '')
-rw-r--r-- | users/tazjin/emacs/config/look-and-feel.el | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/users/tazjin/emacs/config/look-and-feel.el b/users/tazjin/emacs/config/look-and-feel.el index 5a4d874f6f0d..8cca6e1bf08e 100644 --- a/users/tazjin/emacs/config/look-and-feel.el +++ b/users/tazjin/emacs/config/look-and-feel.el @@ -22,7 +22,16 @@ (blink-cursor-mode -1)) ;; Configure Emacs fonts. -(let ((font (format "JetBrains Mono-%d" 12))) +(let ((font (if (equal "frog" (s-trim (shell-command-to-string "hostname"))) + ;; For unclear reasons, frog refuses to render the + ;; regular font weight - everything ends up bold, + ;; which makes it hard to distinguish e.g. read/unread + ;; emails. + ;; + ;; Semi-bold looks a little different than on vauxhall + ;; and other machines, but it's alright. + (format "JetBrains Mono Semi Light-%d" 12) + (format "JetBrains Mono-%d" 12)))) (setq default-frame-alist `((font . ,font))) (set-frame-font font t t)) |