about summary refs log tree commit diff
path: root/tools/emacs/config
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-01-19T16·39+0000
committerVincent Ambo <tazjin@google.com>2020-01-19T16·39+0000
commitf09c6a8ecd505812ee50864e981a3f1ef108afd2 (patch)
tree1d3161fc6afa65ae36b492c3b514a9c409eeb31d /tools/emacs/config
parent7b011de1b800e7404058886fb5b3f665bd0036de (diff)
feat(emacs.d): Switch font to JetBrains Mono r/420
Lets evaluate this for a bit. With the current settings it even seems
to render _okay_ on nugget.
Diffstat (limited to 'tools/emacs/config')
-rw-r--r--tools/emacs/config/look-and-feel.el14
1 files changed, 3 insertions, 11 deletions
diff --git a/tools/emacs/config/look-and-feel.el b/tools/emacs/config/look-and-feel.el
index b54bcd1b6ca7..5a4d874f6f0d 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 ()