Skip to content

Commit

Permalink
tweak(mu4e): better icons for mu4e-modeline
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jun 21, 2023
1 parent a653069 commit 71cb363
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions modules/extras/me-mu4e-ui.el
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,12 @@ will also be the width of all other printable characters."
(when (display-graphic-p)
(+mu4e--ui-setup)))))

(defun +mu4e-ui-modeline-tweaks ()
(setq mu4e-modeline-all-clear `("C:" . ,(format "%s " (nerd-icons-octicon "nf-oct-read")))
mu4e-modeline-all-read `("R:" . ,(format "%s " (nerd-icons-octicon "nf-oct-check")))
mu4e-modeline-unread-items `("U:" . ,(format "%s " (nerd-icons-octicon "nf-oct-unread")))
mu4e-modeline-new-items `("N:" . ,(format "%s " (nerd-icons-octicon "nf-oct-bell")))))


(provide 'me-mu4e-ui)

Expand Down
3 changes: 2 additions & 1 deletion modules/me-email.el
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@
:demand t
:config
;; Setup the UI (mostly inspired by Doom Emacs, with a lot of improvements)
(+mu4e-ui-setup))
(+mu4e-ui-setup)
(+mu4e-ui-modeline-tweaks))

(use-package me-mu4e-gmail
:after mu4e
Expand Down

0 comments on commit 71cb363

Please sign in to comment.