mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Add spaces and face for mu4e indicator.
This commit is contained in:
parent
8786231f8a
commit
81e356cd3b
1 changed files with 2 additions and 1 deletions
|
@ -1512,7 +1512,8 @@ mouse-1: Toggle Debug on Quit"
|
||||||
(setq global-mode-string (delete '(:eval mu4e-alert-mode-line)
|
(setq global-mode-string (delete '(:eval mu4e-alert-mode-line)
|
||||||
global-mode-string))
|
global-mode-string))
|
||||||
(propertize
|
(propertize
|
||||||
(number-to-string mu4e-alert-mode-line)
|
(concat " " (number-to-string mu4e-alert-mode-line) " ")
|
||||||
|
'face '(:inherit (italic))
|
||||||
'help-echo (if (= mu4e-alert-mode-line 1)
|
'help-echo (if (= mu4e-alert-mode-line 1)
|
||||||
"You have an unread email"
|
"You have an unread email"
|
||||||
(format "You have %s unread emails" mu4e-alert-mode-line)))))
|
(format "You have %s unread emails" mu4e-alert-mode-line)))))
|
||||||
|
|
Loading…
Reference in a new issue