mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Optimize performance.
This commit is contained in:
parent
47886faf1d
commit
8209edf915
1 changed files with 32 additions and 7 deletions
|
@ -78,13 +78,38 @@ It returns a file name which can be used directly as argument of
|
|||
(doom-modeline--set-char-widths
|
||||
`((2 . ,fonts)))))
|
||||
|
||||
;; TODO: better performance?
|
||||
(doom-moddeline--set-font-widths all-the-icons-data/alltheicons-alist)
|
||||
;; (doom-moddeline--set-font-widths all-the-icons-data/file-icon-alist)
|
||||
;; (doom-moddeline--set-font-widths all-the-icons-data/weather-icons-alist)
|
||||
(doom-moddeline--set-font-widths all-the-icons-data/octicons-alist)
|
||||
(doom-moddeline--set-font-widths all-the-icons-data/material-icons-alist)
|
||||
(doom-moddeline--set-font-widths all-the-icons-data/fa-icon-alist)
|
||||
(defconst doom-modeline-icons-alist
|
||||
'(;; macro
|
||||
("fiber_manual_record" . "\xe061")
|
||||
("triangle-right" . "\xf05a")
|
||||
|
||||
;; multiple-cursors
|
||||
("i-cursor" . "\xf246")
|
||||
|
||||
;; LSP
|
||||
("rocket" . "\xf135")
|
||||
|
||||
;; github
|
||||
("github" . "\xf09b")
|
||||
|
||||
;; debug
|
||||
("bug" . "\xf188")
|
||||
|
||||
;; mu4e
|
||||
("email" . "\xe0be")
|
||||
;; ("mail" . "\xe158")
|
||||
|
||||
;; irc
|
||||
("message" . "\xe0c9")
|
||||
|
||||
;; Battery
|
||||
("battery-charging" . "\xe939")
|
||||
("battery-empty" . "\xf244")
|
||||
("battery-full" . "\xf240")
|
||||
("battery-half" . "\xf242")
|
||||
("battery-quarter" . "\xf243")
|
||||
("battery-three-quarters" . "\xf241")))
|
||||
(doom-moddeline--set-font-widths doom-modeline-icons-alist)
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue