aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-icons.el
blob: a768f787edb0a3d005eda64ff0e91d56ed61ab2b (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
  :ensure t
  :config
  ;;----------------------------------
  ;; Fonts - connecting with neotree
  ;;---------------------------------
  (when (display-graphic-p)
    (unless (member "all-the-icons" (font-family-list))
      (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