From 81b1d3da5bd94f30f135890969e1c0e7c9866ba3 Mon Sep 17 00:00:00 2001 From: Astounds Date: Sat, 21 Feb 2026 16:04:36 -0500 Subject: [PATCH] fix usage all-the-icons --- modules/init-icons.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/init-icons.el b/modules/init-icons.el index e9e7163..a768f78 100644 --- a/modules/init-icons.el +++ b/modules/init-icons.el @@ -13,9 +13,9 @@ ;;---------------------------------- ;; Fonts - connecting with neotree ;;--------------------------------- - (if (member "all-the-icons" (font-family-list)) - (message "The all-the-icons are installed (.❛ ᴗ ❛.)") - (setq neotree-mode-hook 'all-the-icons-install-fonts))) + (when (display-graphic-p) + (unless (member "all-the-icons" (font-family-list)) + (setq neotree-mode-hook 'all-the-icons-install-fonts)))) ;; fix performace (setq inhibit-compacting-font-caches t)