fix(tazjin/emacs): make font a little bolder

Something in recent nixpkgs made things a little ... less bold. This
makes them more bold again. It looks vaguely correct after.

Change-Id: I6fc60cc1ec2d21d193f46f4d80998f041941add0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8488
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2023-04-20 13:39:18 +03:00 committed by tazjin
parent 2363a194cd
commit 31e15ace01

View file

@ -22,16 +22,7 @@
(blink-cursor-mode -1))
;; Configure Emacs fonts.
(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))))
(let ((font (format "JetBrains Mono Medium-%d" 12)))
(setq default-frame-alist `((font . ,font)))
(set-frame-font font t t))