Disable font stuff in terminal

This commit is contained in:
2025-04-09 21:09:42 -07:00
parent 94972f39ae
commit d2a890040c

View File

@@ -433,18 +433,19 @@
(height . 60))) (height . 60)))
;;;; Fonts ;;;; Fonts
(setq my/font-candidates (when window-system
(setq my/font-candidates
'("FiraCode Nerd Font Mono" "Fira Code" "Menlo" "Deja Vu Sans")) '("FiraCode Nerd Font Mono" "Fira Code" "Menlo" "Deja Vu Sans"))
(defvar my/font (defvar my/font
(seq-find #'x-list-fonts my/font-candidates) (seq-find #'x-list-fonts my/font-candidates)
"The default font to use.") "The default font to use.")
(defvar my/font-size (defvar my/font-size
(if ON-MAC (if ON-MAC
14 14
12) 12)
"The default font size to use.") "The default font size to use.")
(modify-all-frames-parameters (modify-all-frames-parameters
`((font . ,(concat my/font "-" (number-to-string my/font-size))))) `((font . ,(concat my/font "-" (number-to-string my/font-size))))))
;;;; Hide clutter ;;;; Hide clutter
(setq inhibit-startup-message t (setq inhibit-startup-message t