diff options
author | Alan Pearce | 2018-11-29 20:32:38 +0100 |
---|---|---|
committer | Alan Pearce | 2018-11-29 20:32:38 +0100 |
commit | c3b82dddef8aad525a9bcb9c8d9d620e20e992c0 (patch) | |
tree | add6eecddf66150b42c14000258caabeebf8f0c6 | |
parent | c56456df20ffb52e9516345204be50544110c06d (diff) | |
download | nixfiles-c3b82dddef8aad525a9bcb9c8d9d620e20e992c0.tar.lz nixfiles-c3b82dddef8aad525a9bcb9c8d9d620e20e992c0.tar.zst nixfiles-c3b82dddef8aad525a9bcb9c8d9d620e20e992c0.zip |
Emacs: simplify macOS font setup
-rw-r--r-- | emacs/.emacs.d/main.el | 4 |
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))))) |