aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/init-icons.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/init-icons.el')
-rw-r--r--lisp/init-icons.el17
1 files changed, 17 insertions, 0 deletions
diff --git a/lisp/init-icons.el b/lisp/init-icons.el
new file mode 100644
index 0000000..252c9a4
--- /dev/null
+++ b/lisp/init-icons.el
@@ -0,0 +1,17 @@
+;;----------------------------------
+;; All-the-icons
+;;----------------------------------
+(require-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)
+ )
+
+;; fix performace
+(setq inhibit-compacting-font-caches t)
+
+(provide 'init-icons)