aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/init-icons.el6
1 files 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)