SwayNotificationCenter icon indicating copy to clipboard operation
SwayNotificationCenter copied to clipboard

[Feature] Inject custom buttons into a notification

Open GabeDuarteM opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. I have some programs that sometimes like to spam notifications for a brief period, and I'd like to silence them for a while. I don't have control over how the notifications are sent since this is done by the program itself, so because of that I also can't just add a "Snooze" action into it.

Describe the solution you'd like I guess the most flexible solution to this would be to allow injecting custom buttons into specific notifications (maybe reusing the logic on https://github.com/ErikReider/SwayNotificationCenter#scripting, adding a new run-on value like button or something similar). With this, I could make a script to put the app into dnd (when they support it), or even close it and reopen after some time.

Describe alternatives you've considered N/A

Additional context N/A

GabeDuarteM avatar Aug 16 '24 01:08 GabeDuarteM