aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-icons.el
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-01-22 15:45:41 -0500
committerJesús <heckyel@hyperbola.info>2019-01-22 15:45:41 -0500
commitced0fe8f9ef7cd16ade900bb34393c627f6d0c69 (patch)
tree350d3a0cbb87b12a36c0dc12537c56a75a2668ae /modules/init-icons.el
parentd0f44d85466d7211d54e30970f29815842ff4180 (diff)
downloademacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.tar.lz
emacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.tar.xz
emacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.zip
Change directory lisp/ to modules/
FS #2
Diffstat (limited to 'modules/init-icons.el')
-rw-r--r--modules/init-icons.el28
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