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:
parent
2363a194cd
commit
31e15ace01
1 changed files with 1 additions and 10 deletions
|
@ -22,16 +22,7 @@
|
||||||
(blink-cursor-mode -1))
|
(blink-cursor-mode -1))
|
||||||
|
|
||||||
;; Configure Emacs fonts.
|
;; Configure Emacs fonts.
|
||||||
(let ((font (if (equal "frog" (s-trim (shell-command-to-string "hostname")))
|
(let ((font (format "JetBrains Mono Medium-%d" 12)))
|
||||||
;; 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)))
|
(setq default-frame-alist `((font . ,font)))
|
||||||
(set-frame-font font t t))
|
(set-frame-font font t t))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue