SwayNotificationCenter icon indicating copy to clipboard operation
SwayNotificationCenter copied to clipboard

[Feature] notification action from swaync-client

Open SuperDuperDeou opened this issue 1 month ago • 0 comments

Is your feature request related to a problem? Please describe. I'd like to be able to open a notification action with a simple keybinding without having to open the control center. I could press the button like a normal person, but did I mention I use Vim?

Describe the solution you'd like Adding a command line flag to swaync-client that closes the notification if there's no action, and does the action if there is one.

The only problem is when a notification has multiple actions. Dunst, with dnstctl action, solves it by spawning a dmenu window, but I'm not sure it's compatible with swaync's design philosophy.

Another way I can think of is adding an argument (swaync-client --action [action_number]).

Additional context I'm migrating from Dunst to Swaync.

SuperDuperDeou avatar Jun 11 '24 13:06 SuperDuperDeou