aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-icons.el
blob: ff2d81fa34035bc82e34b30ec76503ce7d86c2e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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