Ximi1970 / systray-x

SysTray-X: A system tray extension for Thunderbird. Needs both the addon AND the companion app installed to work. Will not work with TB flatpaks or snaps.
Mozilla Public License 2.0
217 stars 14 forks source link

[Feature] Launch a command when quitting Thunderbird #135

Closed benintech closed 12 months ago

benintech commented 1 year ago

It would be handy to be able to launch a command when quitting Thunderbird.

When Thunderbird is closed, I like to have a mail notification daemon (like mailnag) running in the background, so I can be notified when new mails arrive on the server, even with Thunderbird closed.

Right now I have a cronjob that checks every minutes if Tunderbird is running, and if not it launches mailnag. It would be cleaner to launch mailnag whenever I quit TB.

Is it possible to add the option to launch a command when quitting Thunderbird ?

Ximi1970 commented 1 year ago

Added a start and close command option. Available in the git, develop. It will be added in the next release. First I need to refactor the unread / new handling for another request.