-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help to get desktop notifications every X minutes #42
Comments
Same problem. I can't live without notifications. |
Hi, I had the same problem and I've come up with a hack to solve it. (require 'mu4e-alert)
(add-hook 'mu4e-index-updated-hook (lambda ()
(mu4e-alert--get-mu-unread-mails (lambda (mails)
(mu4e-alert-notify-unread-messages-count (length (mu4e-alert-filter-repeated-mails mails))))))) I added that hook and it shows a notification whenever you index your mail(which mu4e does on its own when it synchronizes, to modify how often mu4e synchronizes, use You can look at the mu4e-alert source to come up with something better, this will only print how many mails you got. |
Hi everyone. I have installed
mu4e-alert
correctly and set up the configuration in my.emacs
as follow:However, the desktop notifications only work when I open Emacs, in that exact moment I get the notifications of the unread emails correctly. But after that, when Emacs is already open for a couple of minutes and I receive a new email, I only get the line-display icon updated but without any desktop notification. Is it possible to configure the desktop notifications to also work when Emacs is already running?
The text was updated successfully, but these errors were encountered: