Skip to content
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

[Feature] Inject custom buttons into a notification #466

Open
GabeDuarteM opened this issue Aug 16, 2024 · 0 comments
Open

[Feature] Inject custom buttons into a notification #466

GabeDuarteM opened this issue Aug 16, 2024 · 0 comments

Comments

@GabeDuarteM
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant