mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Disable all-the-icons in Windows due to the bad performance.
This commit is contained in:
parent
c6be6f5b48
commit
21b9230fc7
1 changed files with 3 additions and 3 deletions
|
@ -623,15 +623,15 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
||||||
|
|
||||||
|
|
||||||
(defun doom-modeline-maybe-icon-octicon (&rest args)
|
(defun doom-modeline-maybe-icon-octicon (&rest args)
|
||||||
(when (display-graphic-p)
|
(when (and (display-graphic-p) (not (eq system-type 'windows-nt)))
|
||||||
(apply 'all-the-icons-octicon args)))
|
(apply 'all-the-icons-octicon args)))
|
||||||
|
|
||||||
(defun doom-modeline-maybe-icon-faicon (&rest args)
|
(defun doom-modeline-maybe-icon-faicon (&rest args)
|
||||||
(when (display-graphic-p)
|
(when (and (display-graphic-p) (not (eq system-type 'windows-nt)))
|
||||||
(apply 'all-the-icons-faicon args)))
|
(apply 'all-the-icons-faicon args)))
|
||||||
|
|
||||||
(defun doom-modeline-maybe-icon-material (&rest args)
|
(defun doom-modeline-maybe-icon-material (&rest args)
|
||||||
(when (display-graphic-p)
|
(when (and (display-graphic-p) (not (eq system-type 'windows-nt)))
|
||||||
(apply 'all-the-icons-material args)))
|
(apply 'all-the-icons-material args)))
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue