diff options
author | shoshin <shoshin@cicadas.surf> | 2023-03-17 15:54:23 -0500 |
---|---|---|
committer | shoshin <shoshin@cicadas.surf> | 2023-03-17 15:54:23 -0500 |
commit | 01c01da513aa9abab8fbd048ba97cd72e6cd31fd (patch) | |
tree | 7f1a6d6482d32276bb0743426d0bceff2948e40f /shoshimacs.org | |
parent | 7111b92461f06dfaab4d8f33787f73b1b9313c06 (diff) |
Add: better handling of setting default frame font
Diffstat (limited to 'shoshimacs.org')
-rw-r--r-- | shoshimacs.org | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/shoshimacs.org b/shoshimacs.org index 41099e3..9bf00c4 100644 --- a/shoshimacs.org +++ b/shoshimacs.org @@ -1125,15 +1125,16 @@ depending on the window layout currently in use. (package-install 'darkroom) #+end_src -** Fonts +** Fonts For code, I've grown fond of Victor Mono. #+begin_src emacs-lisp - (let ((size (if (or (equal (system-name) "zebes") (equal (system-name) "ridley")) 16 12))) - (set-frame-font (format "Victor Mono-%s" size))) + (let* ((size (if (or (equal (system-name) "zebes") (equal (system-name) "ridley")) 16 12)) + (font (format "Victor Mono-%s" size))) + (add-to-list 'default-frame-alist + `(font . ,font))) #+end_src - *** COMMENT Attempt to install the font via Emacs, url.el and ~make-process~ in the end, this "works" but isn't very useful. the font cache needs to be updated |