LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

makoctl-invoke

triggers actions on notifications displayed by the mako notification daemon

TLDR

Invoke the default action on the most recent notification
$ makoctl invoke
copy
Invoke a specific action on a notification
$ makoctl invoke -n [notification_id] [action_name]
copy

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)

INSTALL

sudo apt install mako-notifier
copy
sudo dnf install mako
copy
sudo pacman -S mako
copy
sudo apk add mako
copy
sudo zypper install mako
copy
brew install mako
copy
nix profile install nixpkgs#mako
copy

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

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid