Emacs: simplify macOS font setup
Alan Pearce alan@alanpearce.eu
Thu, 29 Nov 2018 20:32:38 +0100
1 files changed, 1 insertions(+), 3 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -190,9 +190,7 @@ (ap/set-fonts "Liberation Mono" 11 "Segoe UI" 11 t)) ((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)))))