jaredks / rumps

Ridiculously Uncomplicated macOS Python Statusbar apps
BSD 3-Clause "New" or "Revised" License
3.06k stars 177 forks source link

Option to remove a notification? #134

Open mcackay opened 4 years ago

mcackay commented 4 years ago

Is there a way to remove/hide a notification? (or if not, could it be added)

i.e. alerter/terminal-notifier (https://github.com/vjeantet/alerter) has a "-remove" option which allows the code to clear/hide a notification(s) that it had previously issued.

This would be super handy if the application is reporting a transient issue which it could then recover from, etc.

mcackay commented 4 years ago

Extending this request -- would also be useful to be able to re-issue a notification, that replaced the a previous one issued.

This would mirror the functionality offered by the -groupid option in Alerter/Terminal-Notifier.