aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-02-12 11:42:16 -0500
committerJesús <heckyel@hyperbola.info>2019-02-12 11:42:16 -0500
commit1cf69cc8aed7ca0e0c2dff1d5e235a7d5edca3da (patch)
tree77ca294c32b69a955d95fc6bbc94ca5c8f5aea77
parentb2610cf17e355401ca10e2049b31c82ae717d4c0 (diff)
downloademacs-personal-1cf69cc8aed7ca0e0c2dff1d5e235a7d5edca3da.tar.lz
emacs-personal-1cf69cc8aed7ca0e0c2dff1d5e235a7d5edca3da.tar.xz
emacs-personal-1cf69cc8aed7ca0e0c2dff1d5e235a7d5edca3da.zip
improved fonts all-the-icons
-rw-r--r--modules/init-icons.el18
1 files 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)