mu4e: change update notification style

This commit is contained in:
Jeremy Baxter 2025-04-30 09:58:56 +12:00
parent 07d4cd07f4
commit 03388a0b5f

View file

@ -10,7 +10,8 @@
(defun mu4e-notify-new-messages ()
(let ((message-count (plist-get mu4e-index-update-status :updated)))
(unless (eq message-count 0)
(shell-command (format "notify-send mu4e \"%d new messages\""
(shell-command (format (concat "notify-send -t 10000 -a mu4e "
"\"New mail\" \"%d new messages\"")
message-count)))))
(setq mu4e-maildir "~/mail"