From 81e356cd3b77092bf9eac4e619030b756bfc01dc Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Wed, 30 Jan 2019 16:02:34 +0800 Subject: [PATCH] Add spaces and face for mu4e indicator. --- doom-modeline-segments.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index a7b2300..83d2ae2 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -1512,7 +1512,8 @@ mouse-1: Toggle Debug on Quit" (setq global-mode-string (delete '(:eval mu4e-alert-mode-line) global-mode-string)) (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) "You have an unread email" (format "You have %s unread emails" mu4e-alert-mode-line)))))