Skip to content

Commit

Permalink
Add to man page
Browse files Browse the repository at this point in the history
  • Loading branch information
vilhalmer authored and emersion committed May 3, 2021
1 parent f31f682 commit c49350f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions mako.5.scd
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ The following fields are available in criteria:
- _desktop-entry_ (string)
- _actionable_ (boolean)
- _expiring_ (boolean)

The following fields are also available to match on a second pass based on
where previous style options decided to place each notification:

- _grouped_ (boolean)
- Whether the notification is grouped with any others (its group-index is
not -1).
Expand All @@ -276,6 +280,15 @@ The following fields are available in criteria:
- _hidden_ (boolean)
- _hidden_ is special, it defines the style for the placeholder shown when
the number of notifications or groups exceeds _max-visible_.
- _output_ (string)
- Which output the notification was sorted onto. See the output style
option for possible values.
- _anchor_ (string)
- Which position on the output the notification was assigned to. See the
anchor style option for possible values.

There are only two passes performed on each notification, so the second-pass
critera are not allowed to reposition the notification.

If a field's value contains special characters, they may be escaped with a
backslash, or quoted:
Expand Down

0 comments on commit c49350f

Please sign in to comment.