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

Adding support for actions for notify-send version >=0.8.2 #445

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

marmul
Copy link

@marmul marmul commented Jun 13, 2024

Ubuntu 23.10 and Ubuntu 24.04 are shipped with notify-send and libnotify versions >=0.8.2, so it supports notification actions.

https://manpages.ubuntu.com/manpages/mantic/en/man1/notify-send.1.html

The "--action" option needs to be set multiple times if there are multiple actions. I hacked something together that does that. I also wanted to use events with those actions, but for some reason had to refactor NotifySend into an ES6 class to make it work.

Only tested on Ubuntu 24.04 so far. Hints and comments welcome.

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

Successfully merging this pull request may close these issues.

1 participant