Open ZeiP opened 3 years ago
You can configure mailbox-alert to execute commands when emails arrive. You can leverage this feature to run notify-send
while disable the show a message checkbox.
Example:
/usr/bin/notify-send -i /home/crazybyte/.local/share/icons/custom_icons/256x256/apps/thunderbird.png "%sendername on %originalfolder" "%subject"
Note: in this way you cannot associate any task to the toast notification (not clickable). For instance, you cannot click on it and expect it opens the email on a new window.
This could be very helpful. I'm using Ubuntu 22.04 and native message doesn't work, so I have to use command, as was said it's not very feature-complete
I am writing a python script to integrate Mailbox-Alert with libnotify, it currently works but I would like to add options via a GUI for end-user customisation, such as silencing certain notifications and pushing others till later on certain conditions.
I use this myself, so emails from some accounts aren't shown during working hours, and such.
Will publish once more feature complete.
If #34 is added, I would integrate with that as well to remove notifications if read.
The notifications that I think are caused by the addon are especially in Wayland/Sway full-screen and pretty annoying. It'd be much better if the addon supported at least optionally sending the notifications through libnotify so that they would go through the native notification platform and look the same as other notifications.