diff options
author | Alan Pearce | 2016-06-13 11:04:37 +0200 |
---|---|---|
committer | Alan Pearce | 2016-06-13 11:04:37 +0200 |
commit | dd078ae0c57ff1ba84060568864ed23ec420672e (patch) | |
tree | 31ef31244f0012db3f6b99ecebbd35b37083887b | |
parent | c48b283fcc5fbbc083de41b8f15728b93a68f9af (diff) | |
download | nixfiles-dd078ae0c57ff1ba84060568864ed23ec420672e.tar.lz nixfiles-dd078ae0c57ff1ba84060568864ed23ec420672e.tar.zst nixfiles-dd078ae0c57ff1ba84060568864ed23ec420672e.zip |
Emacs: Use `window-system` for all font checks
-rw-r--r-- | tag-emacs/emacs.d/init.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index af891617..f084cc22 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -175,7 +175,7 @@ because I manage those in my [[file:~/projects/dotfiles/tag-xresources/xresource (cond ((eq window-system 'w32) (ap/set-fonts "Consolas" 10 "Segoe UI" 11)) - ((eq system-type 'darwin) + ((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 "PT Mono" 12 "Lucide Grande" 12 t) |