Skip to content

Commit 651eac2

Browse files
Seito1090dmmqzacuteenvyManagor
authored
mako, makoctl, makoctl-{mode, dismiss, invoke}: add page (#19165)
Co-authored-by: Dylan <[email protected]> Co-authored-by: Lena Pastwa <[email protected]> Co-authored-by: Managor <[email protected]>
1 parent 574019d commit 651eac2

File tree

5 files changed

+115
-0
lines changed

5 files changed

+115
-0
lines changed

pages/linux/mako.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# mako
2+
3+
> Notification daemon for Wayland compositors.
4+
> Can be controlled with `makoctl`.
5+
> More information: <https://manned.org/mako>.
6+
7+
- Start the `mako` notification daemon:
8+
9+
`mako`
10+
11+
- Start with a custom configuration file:
12+
13+
`mako {{[-c|--config]}} {{path/to/config}}`
14+
15+
- Set maximum number of visible notifications:
16+
17+
`mako --max-visible {{5}}`
18+
19+
- Set default timeout in milliseconds (0 to disable):
20+
21+
`mako --default-timeout {{2000}}`
22+
23+
- Group notifications by application name:
24+
25+
`mako --group-by {{app_name}}`
26+
27+
- Display help:
28+
29+
`mako {{[-h|--help]}}`

pages/linux/makoctl-dismiss.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# makoctl dismiss
2+
3+
> Dismiss notifications in `mako`.
4+
> More information: <https://manned.org/makoctl>.
5+
6+
- Dismiss the most recent notification:
7+
8+
`makoctl dismiss`
9+
10+
- Dismiss a specific notification by ID:
11+
12+
`makoctl dismiss -n {{notification_id}}`
13+
14+
- Dismiss all notifications:
15+
16+
`makoctl dismiss {{[-a|--all]}}`
17+
18+
- Dismiss all notifications in the first group:
19+
20+
`makoctl dismiss {{[-g|--group]}}`
21+
22+
- Dismiss without adding to history:
23+
24+
`makoctl dismiss {{[-h|--no-history]}}`

pages/linux/makoctl-invoke.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# makoctl invoke
2+
3+
> Invoke actions on notifications in `mako`.
4+
> More information: <https://manned.org/makoctl>.
5+
6+
- Invoke the default action on the most recent notification:
7+
8+
`makoctl invoke`
9+
10+
- Invoke a specific action on a notification (if not specified, default is used):
11+
12+
`makoctl invoke -n {{notification_id}} {{action_name}}`

pages/linux/makoctl-mode.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# makoctl mode
2+
3+
> Manage notification modes in `mako`.
4+
> Modes can be used to change notification behavior (e.g., do-not-disturb).
5+
> More information: <https://manned.org/makoctl>.
6+
7+
- List all currently active modes:
8+
9+
`makoctl mode`
10+
11+
- Add a mode:
12+
13+
`makoctl mode -a {{do-not-disturb}}`
14+
15+
- Remove a mode:
16+
17+
`makoctl mode -r {{do-not-disturb}}`
18+
19+
- Toggle a mode (add if absent, remove if present):
20+
21+
`makoctl mode -t {{do-not-disturb}}`
22+
23+
- Set specific modes, replacing all current modes:
24+
25+
`makoctl mode -s {{mode1 mode2 ...}}`

pages/linux/makoctl.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# makoctl
2+
3+
> Control the `mako` notification daemon.
4+
> Some subcommands such as `dismiss`, `invoke`, and `mode` have their own usage documentation.
5+
> More information: <https://manned.org/makoctl>.
6+
7+
- List all current notifications:
8+
9+
`makoctl list`
10+
11+
- List notification history:
12+
13+
`makoctl history`
14+
15+
- Reload the configuration file:
16+
17+
`makoctl reload`
18+
19+
- Restore the most recently expired notification from history:
20+
21+
`makoctl restore`
22+
23+
- Display help:
24+
25+
`makoctl help`

0 commit comments

Comments
 (0)