makoctl-invoke
triggers actions on notifications displayed by the mako notification daemon
TLDR
SYNOPSIS
makoctl invoke [-n id] [action]
DESCRIPTION
makoctl invoke triggers actions on notifications displayed by the mako notification daemon. Notifications can define multiple actions (like "Reply", "Mark as Read", "Open"), and this command invokes them programmatically.
Without arguments, it invokes the default action on the most recent notification—typically equivalent to clicking the notification. With -n, a specific notification can be targeted by its ID.
This is useful for keyboard-driven workflows where mouse interaction with notifications is undesirable, or for scripting notification responses.
PARAMETERS
-n _id_
Specify the notification ID to act upon_action_
The action name to invoke (uses default action if not specified)
CAVEATS
The notification must still be visible for its actions to be invokable. Notification IDs can be obtained from makoctl list. Actions depend on what the sending application defined; not all notifications have actions beyond dismissal.
SEE ALSO
makoctl(1), makoctl-mode(1), mako(1)

