feat(emacs.d): Switch font to JetBrains Mono

Lets evaluate this for a bit. With the current settings it even seems
to render _okay_ on nugget.
This commit is contained in:
Vincent Ambo 2020-01-19 16:39:21 +00:00
parent 7b011de1b8
commit f09c6a8ecd

View file

@ -22,16 +22,8 @@
(blink-cursor-mode -1))
;; Configure Emacs fonts.
;;
;; On nugget, due to some font rendering issues that I haven't managed
;; to debug yet a light version of the Input font needs to be used.
;; Otherwise all text appears in bold, which makes it seem like the
;; weights are somehow messed up.
(let ((font (if (equal "nugget" (s-trim (shell-command-to-string "hostname")))
(format "Input Mono Light-%d" 12)
(format "Input Mono-%d" 12))))
(setq default-frame-alist `((font-backend . "xft")
(font . ,font)))
(let ((font (format "JetBrains Mono-%d" 12)))
(setq default-frame-alist `((font . ,font)))
(set-frame-font font t t))
;; Configure telephone-line
@ -44,7 +36,7 @@
load, battery levels on all buffers."
(when (bottom-right-window-p)
(telephone-line-raw mode-line-misc-info t)))
(telephone-line-raw mode-line-misc-info t)))
(defun telephone-line-setup ()
(telephone-line-defsegment telephone-line-last-window-segment ()