1makoctl(1) General Commands Manual makoctl(1)
2
3
4
6 makoctl - controls the mako(1) daemon
7
9 makoctl [cmd] [options...]
10
12 Sends IPC commands to the running mako daemon via dbus.
13
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 set-mode <name>
72 Switches the current mode to name. This replaces the previous mode.
73
74 See the MODES section in mako(5) for more information about modes.
75
76 help, -h, --help
77 Show help message and quit.
78
80 Maintained by Simon Ser <contact@emersion.fr>, who is assisted by other
81 open-source contributors. For more information about mako development,
82 see https://github.com/emersion/mako.
83
85 mako(1)
86
87
88
89 2021-07-22 makoctl(1)