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       history
69           Retrieve a list of dismissed notifications.
70
71       reload
72           Reloads the configuration file.
73
74       mode
75       mode -s <mode>...
76       mode [-a mode]... [-r mode]...
77           When run without any option, retrieves a list of current modes.
78
79           When run with the -s option, replaces the current modes with the
80           provided list.
81
82           When run with the -a or -r options, adds or removes the provided
83           mode from the current modes.
84
85           See the MODES section in mako(5) for more information about modes.
86
87       help, -h, --help
88           Show help message and quit.
89

AUTHORS

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

SEE ALSO

96       mako(1)
97
98
99
100                                  2023-06-03                        makoctl(1)
Impressum