1makoctl(1)                  General Commands Manual                 makoctl(1)
2
3
4

NAME

6       makoctl - controls the mako(1) daemon
7

SYNOPSIS

9       makoctl [cmd] [options...]
10

DESCRIPTION

12       Sends IPC commands to the running mako daemon via dbus.
13

COMMANDS

15       dismiss [-a|--all] [-g|--group] [-n <id>]
16           Dismisses a notification.
17
18           Options:
19
20           -a, --all
21               Dismiss all notifications.
22
23           -g, --group
24               Dismiss the first notification group.
25
26           -n <id>
27               Dismiss the notification with the given id. Defaults to the
28               first notification.
29
30       restore
31           Restores the most recently expired notification from the history
32           buffer.
33
34       invoke [-n <id>] [action]
35           Invokes an action on a notification. If action is not specified,
36           invokes the default action. Action names can be discovered using
37           `makoctl list`.
38
39           Options:
40
41           -n <id>
42               Invoke the action on the notification with the given id. De‐
43               faults to the first notification.
44
45       menu [-n <id>] <program> [argument...]
46           Use a program to select an action on a notification. The list of
47           actions are joined on newlines and passed to program. The program
48           should write the selected action to stdout. If an action is given,
49           this action will be invoked.
50
51           If no action is found, or no action is selected, makoctl will re‐
52           turn non-zero.
53
54           Options:
55
56           -n <id>
57               List the actions of the notification with the given id. De‐
58               faults to the first notification.
59
60           Examples:
61
62                   makoctl menu dmenu -p 'Select Action: '
63                   makoctl menu -n 12345 wofi -d -p 'Choose Action: '
64
65       list
66           Retrieve a list of current notifications.
67
68       reload
69           Reloads the configuration file.
70
71       mode mode -s <mode>... mode [-a mode]... [-r mode]...
72           When run without any option, retrieves a list of current modes.
73
74           When run with the -s option, replaces the current modes with the
75           provided list.
76
77           When run with the -a or -r options, adds or removes the provided
78           mode from the current modes.
79
80           See the MODES section in mako(5) for more information about modes.
81
82       help, -h, --help
83           Show help message and quit.
84

AUTHORS

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

SEE ALSO

91       mako(1)
92
93
94
95                                  2022-07-21                        makoctl(1)
Impressum