@@ -287,19 +287,7 @@ The following fields are available in criteria:
287287- _ app-name_ (string)
288288- _ app-icon_ (string)
289289- _ summary_ (string)
290- - An exact match on the summary of the notification.
291- - This field conflicts with _summary~_.
292- - _ summary~ _ (string)
293- - A POSIX extended regular expression match on the summary of the
294- notification.
295- - This field conflicts with _summary_.
296290- _ body_ (string)
297- - An exact match on the body of the notification.
298- - This field conflicts with _body~_.
299- - _ body~ _ (string)
300- - A POSIX extended regular expression match on the body of the
301- notification.
302- - This field conflicts with _body_.
303291- _ urgency_ (one of "low", "normal", "critical")
304292- _ category_ (string)
305293- _ desktop-entry_ (string)
@@ -324,7 +312,7 @@ where previous style options decided to place each notification:
324312- _ output_ (string)
325313 - Which output the notification was sorted onto. See the output style
326314 option for possible values.
327- - _ anchor_ (string )
315+ - _ anchor_ (e.g. "top-center", "center-right", "center"... )
328316 - Which position on the output the notification was assigned to. See the
329317 anchor style option for possible values.
330318
@@ -342,7 +330,19 @@ Quotes within quotes may also be escaped, and a literal backslash may be
342330specified as \\\\ . No spaces are allowed around the equal sign. Escaping equal
343331signs within values is unnecessary.
344332
345- Additionally, boolean values may be specified using any of true/false, 0/1, or
333+ All string fields except mode and output support additional operators != and ~ =
334+
335+ - != indicates a non-match
336+ - ~ = indicates a POSIX extended regular expression match
337+
338+ These string fields can also be specified as a bare word, which is equivalent to
339+ comparisons with the empty string:
340+
341+ \[summary\] \[summary!=""\]
342+
343+ \[!summary\] \[summary=""\]
344+
345+ Boolean values may be specified using any of true/false, 0/1, or
346346as bare words:
347347
348348 \[actionable=true\] \[actionable=1\] \[actionable\]
0 commit comments