Skip to content

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