diff options
Diffstat (limited to 'modules/init-icons.el')
-rw-r--r-- | modules/init-icons.el | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/init-icons.el b/modules/init-icons.el new file mode 100644 index 0000000..ff2d81f --- /dev/null +++ b/modules/init-icons.el @@ -0,0 +1,28 @@ +;;; init-icons.el --- .Emacs Configuration -*- lexical-binding: t -*- +;;; Commentary: +;; + +;;; Code: + +;;---------------------------------- +;; 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) + ) + +;; fix performace +(setq inhibit-compacting-font-caches t) + +(provide 'init-icons) + +;; Local Variables: +;; byte-compile-warnings: (not free-vars) +;; End: +;;; init-icons.el ends here |