From 1cf69cc8aed7ca0e0c2dff1d5e235a7d5edca3da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 12 Feb 2019 11:42:16 -0500 Subject: [PATCH] improved fonts all-the-icons --- modules/init-icons.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/init-icons.el b/modules/init-icons.el index ff2d81f..1a0d0db 100644 --- a/modules/init-icons.el +++ b/modules/init-icons.el @@ -7,15 +7,15 @@ ;;---------------------------------- ;; All-the-icons ;;---------------------------------- -(use-package all-the-icons) - -;;---------------------------------- -;; Fonts - connecting with neotree -;;--------------------------------- -(if (file-exists-p "~/.local/share/fonts/all-the-icons.ttf") - (message "the icons are installed :)") - (setq neotree-mode-hook 'all-the-icons-install-fonts) - ) +(use-package all-the-icons + :ensure t + :config + ;;---------------------------------- + ;; Fonts - connecting with neotree + ;;--------------------------------- + (if (member "all-the-icons" (font-family-list)) + (message "the icons are installed :)") + (setq neotree-mode-hook 'all-the-icons-install-fonts))) ;; fix performace (setq inhibit-compacting-font-caches t)