From f09c6a8ecd505812ee50864e981a3f1ef108afd2 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 19 Jan 2020 16:39:21 +0000 Subject: 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. --- tools/emacs/config/look-and-feel.el | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'tools/emacs') diff --git a/tools/emacs/config/look-and-feel.el b/tools/emacs/config/look-and-feel.el index b54bcd1b6c..5a4d874f6f 100644 --- a/tools/emacs/config/look-and-feel.el +++ b/tools/emacs/config/look-and-feel.el @@ -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 () -- cgit 1.4.1