makoctl
Control the mako notification daemon for Wayland
TLDR
List current notifications
$ makoctl list
Show notification history$ makoctl history
Reload configuration$ makoctl reload
Restore last expired notification$ makoctl restore
Dismiss all notifications$ makoctl dismiss -a
Dismiss a notification by ID$ makoctl dismiss -n [id]
Toggle do-not-disturb mode$ makoctl mode -t do-not-disturb
Use an external menu program to select a notification action$ makoctl menu [dmenu] -p 'Select action'
SYNOPSIS
makoctl command [options]
DESCRIPTION
makoctl sends IPC commands to the running mako(1) notification daemon via D-Bus. It can list, dismiss, and manage notifications, as well as reload configuration and switch modes.
PARAMETERS
list
Retrieve a list of current notifications.history
Retrieve a list of dismissed notifications.reload
Reload the configuration file.restore
Restore the most recently expired notification from the history buffer.dismiss [-a|--all] [-g|--group] [-h|--no-history] [-n id]
Dismiss notifications. By default dismisses the first notification. Use -a to dismiss all, -g to dismiss the first notification group, -n to dismiss by id, and -h to dismiss without adding to history.invoke [-n id] [action]
Invoke an action on a notification. If no action is specified, invokes the default action. Use -n to specify a notification by id.menu [-n id] program [argument...]
Use an external program (e.g., dmenu, wofi) to select an action on a notification. Actions are passed to the program on newlines.mode [-s mode...] [-a mode...] [-r mode...] [-t mode...]
Manage notification modes. Without options, lists current modes. Use -s to set modes, -a to add, -r to remove, -t to toggle.-h, --help
Show help message and quit.
SEE ALSO
mako(1), makoctl-dismiss(1), notify-send(1), dunstctl(1)
