fix: use variable to assign nerd-fonts
This commit is contained in:
parent
04c1d8c317
commit
0b036c1a28
3
init.org
3
init.org
|
@ -345,8 +345,7 @@ Font size [[https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Attri
|
||||||
|
|
||||||
(defun nemo/set-fallback-fonts ()
|
(defun nemo/set-fallback-fonts ()
|
||||||
"Set fallback fonts for icons/symbols."
|
"Set fallback fonts for icons/symbols."
|
||||||
(when (member nemo/nerd-fonts-font (font-family-list))
|
(set-fontset-font t nil (font-spec :height nemo/font-height-mono :font nemo/nerd-fonts-font))
|
||||||
(set-fontset-font t nil (font-spec :height nemo/font-height-mono :font "Symbols Nerd Font")))
|
|
||||||
)
|
)
|
||||||
|
|
||||||
(apply-if-gui #'nemo/set-fallback-fonts)
|
(apply-if-gui #'nemo/set-fallback-fonts)
|
||||||
|
|
Loading…
Reference in a new issue