Skip to content

Commit

Permalink
tweak(mu4e): set mu4e-modeline icons after nerd-icons
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jun 23, 2023
1 parent c274a6c commit cb5686a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modules/extras/me-mu4e-ui.el
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,11 @@ will also be the width of all other printable characters."
(+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")))))
(with-eval-after-load 'nerd-icons
(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

0 comments on commit cb5686a

Please sign in to comment.