mirror of
https://github.com/vale981/doom-modeline
synced 2025-03-05 09:21:38 -05:00
parent
538017a399
commit
86d91e891b
1 changed files with 9 additions and 3 deletions
|
@ -2231,9 +2231,15 @@ mouse-1: Toggle Debug on Quit"
|
||||||
(number-to-string mu4e-alert-mode-line))
|
(number-to-string mu4e-alert-mode-line))
|
||||||
'face '(:inherit (doom-modeline-unread-number doom-modeline-warning))))
|
'face '(:inherit (doom-modeline-unread-number doom-modeline-warning))))
|
||||||
'mouse-face 'mode-line-highlight
|
'mouse-face 'mode-line-highlight
|
||||||
'help-echo (if (= mu4e-alert-mode-line 1)
|
'keymap '(mode-line keymap
|
||||||
"You have an unread email"
|
(mouse-1 . mu4e-alert-view-unread-mails)
|
||||||
(format "You have %s unread emails" mu4e-alert-mode-line)))
|
(mouse-2 . mu4e-alert-view-unread-mails)
|
||||||
|
(mouse-3 . mu4e-alert-view-unread-mails))
|
||||||
|
'help-echo (concat (if (= mu4e-alert-mode-line 1)
|
||||||
|
"You have an unread email"
|
||||||
|
(format "You have %s unread emails" mu4e-alert-mode-line))
|
||||||
|
"\nClick here to view "
|
||||||
|
(if (= mu4e-alert-mode-line 1) "it" "them")))
|
||||||
(doom-modeline-spc))))
|
(doom-modeline-spc))))
|
||||||
|
|
||||||
(defun doom-modeline-override-mu4e-alert-modeline (&rest _)
|
(defun doom-modeline-override-mu4e-alert-modeline (&rest _)
|
||||||
|
|
Loading…
Add table
Reference in a new issue