summary refs log tree commit diff stats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2018-11-29 20:32:38 +0100
committerAlan Pearce2018-11-29 20:32:38 +0100
commitc3b82dddef8aad525a9bcb9c8d9d620e20e992c0 (patch)
treeadd6eecddf66150b42c14000258caabeebf8f0c6 /emacs/.emacs.d
parentc56456df20ffb52e9516345204be50544110c06d (diff)
downloadnixfiles-c3b82dddef8aad525a9bcb9c8d9d620e20e992c0.tar.lz
nixfiles-c3b82dddef8aad525a9bcb9c8d9d620e20e992c0.tar.zst
nixfiles-c3b82dddef8aad525a9bcb9c8d9d620e20e992c0.zip
Emacs: simplify macOS font setup
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/main.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index e01d4aa6..42bab70f 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -190,9 +190,7 @@
      ((or (eq window-system 'mac)
           (eq window-system 'ns))
       (let ((displays (string-to-number (shell-command-to-string "system_profiler SPDisplaysDataType | grep \"Online: Yes\" | wc -l"))))
-        (if (eq displays 1)
-            (ap/set-fonts "Fira Code" 14 "Lucida Grande" 14 t nil)
-          (ap/set-fonts "Monoid" 12 "Helvetica Neue" 12 t 0.1))))
+        (ap/set-fonts "SF Mono" 12 "Helvetica Neue" 12 t 0.1)))
      ((and (eq window-system 'x)
            (eq system-type 'gnu/linux/windows))
       (ap/set-fonts "Noto Mono" 12 "Sans" 12 nil)))))