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 help, -h, --help
72 Show help message and quit.
73
75 Maintained by Simon Ser <contact@emersion.fr>, who is assisted by other
76 open-source contributors. For more information about mako development,
77 see https://github.com/emersion/mako.
78
80 mako(1)
81
82
83
84 2021-05-04 makoctl(1)