Skip to content

Latest commit

 

History

History
89 lines (58 loc) · 1.87 KB

makoctl.1.scd

File metadata and controls

89 lines (58 loc) · 1.87 KB

makoctl(1)

NAME

makoctl - controls the mako(1) daemon

SYNOPSIS

makoctl [cmd] [options...]

DESCRIPTION

Sends IPC commands to the running mako daemon via dbus.

COMMANDS

dismiss [-a|--all] [-g|--group] [-n ] Dismisses a notification.

Options:

*-a, --all*
	Dismiss all notifications.

*-g, --group*
	Dismiss the first notification group.

*-n* <id>
	Dismiss the notification with the given id. Defaults to the first
	notification.

restore Restores the most recently expired notification from the history buffer.

invoke [-n ] [action] Invokes an action on a notification. If action is not specified, invokes the default action. Action names can be discovered using makoctl list.

Options:

*-n* <id>
	Invoke the action on the notification with the given id. Defaults to
	the first notification.

menu [-n ] [program] [argument...] Use a program to select an action on a notification. The list of actions are joined on newlines and passed to program. The program should write the selected action to stdout. If an action is given, this action will be invoked.

If no action is found, or no action is selected, _makoctl_ will return
non-zero.

Options:

*-n* <id>
	List the actions of the notification with the given id. Defaults to
	the first notification.

Examples:

	```
	makoctl menu dmenu -p 'Select Action: '
	makoctl menu -n 12345 wofi -d -p 'Choose Action: '
	```

list Retrieve a list of current notifications.

reload Reloads the configuration file.

set = Set a global configuration option.

Reloading the config will discard options set like this.

help, -h, --help Show help message and quit.

AUTHORS

Maintained by Simon Ser contact@emersion.fr, who is assisted by other open-source contributors. For more information about mako development, see https://github.com/emersion/mako.

SEE ALSO

mako(1)