mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Minor refactor.
This commit is contained in:
parent
9a48760e5b
commit
7fda2d9127
1 changed files with 5 additions and 5 deletions
|
@ -537,27 +537,27 @@ If DEFAULT is non-nil, set the default mode-line for all buffers."
|
||||||
(defun doom-modeline-icon-octicon (&rest args)
|
(defun doom-modeline-icon-octicon (&rest args)
|
||||||
"Display octicon via ARGS."
|
"Display octicon via ARGS."
|
||||||
(when doom-modeline-icon
|
(when doom-modeline-icon
|
||||||
(apply 'all-the-icons-octicon args)))
|
(apply #'all-the-icons-octicon args)))
|
||||||
|
|
||||||
(defun doom-modeline-icon-faicon (&rest args)
|
(defun doom-modeline-icon-faicon (&rest args)
|
||||||
"Display font awesome icon via ARGS."
|
"Display font awesome icon via ARGS."
|
||||||
(when doom-modeline-icon
|
(when doom-modeline-icon
|
||||||
(apply 'all-the-icons-faicon args)))
|
(apply #'all-the-icons-faicon args)))
|
||||||
|
|
||||||
(defun doom-modeline-icon-material (&rest args)
|
(defun doom-modeline-icon-material (&rest args)
|
||||||
"Display material icon via ARGS."
|
"Display material icon via ARGS."
|
||||||
(when doom-modeline-icon
|
(when doom-modeline-icon
|
||||||
(apply 'all-the-icons-material args)))
|
(apply #'all-the-icons-material args)))
|
||||||
|
|
||||||
(defun doom-modeline-icon-for-mode (&rest args)
|
(defun doom-modeline-icon-for-mode (&rest args)
|
||||||
"Display icon for major mode via ARGS."
|
"Display icon for major mode via ARGS."
|
||||||
(when doom-modeline-icon
|
(when doom-modeline-icon
|
||||||
(apply 'all-the-icons-icon-for-mode args)))
|
(apply #'all-the-icons-icon-for-mode args)))
|
||||||
|
|
||||||
(defun doom-modeline-icon-for-file (&rest args)
|
(defun doom-modeline-icon-for-file (&rest args)
|
||||||
"Display icon for major mode via ARGS."
|
"Display icon for major mode via ARGS."
|
||||||
(when doom-modeline-icon
|
(when doom-modeline-icon
|
||||||
(apply 'all-the-icons-icon-for-file args)))
|
(apply #'all-the-icons-icon-for-file args)))
|
||||||
|
|
||||||
(defun doom-modeline--active ()
|
(defun doom-modeline--active ()
|
||||||
"Whether is an active window."
|
"Whether is an active window."
|
||||||
|
|
Loading…
Reference in a new issue