@@ -334,14 +334,8 @@ The following fields are available in criteria:
334334
335335- _ app-name_ (string)
336336- _ app-icon_ (string)
337- - _ summary_ (string): exact match on the summary of the notification. This
338- field conflicts with _ summary~ _ .
339- - _ summary~ _ (string): a POSIX extended regular expression match on the summary
340- of the notification. This field conflicts with _ summary_ .
341- - _ body_ (string): an exact match on the body of the notification. This field
342- conflicts with _ body~ _ .
343- - _ body~ _ (string): a POSIX extended regular expression match on the body of
344- the notification. This field conflicts with _ body_ .
337+ - _ summary_ (string)
338+ - _ body_ (string)
345339- _ urgency_ (one of "low", "normal", "critical")
346340- _ category_ (string)
347341- _ desktop-entry_ (string)
@@ -378,7 +372,19 @@ Quotes within quotes may also be escaped, and a literal backslash may be
378372specified as \\\\ . No spaces are allowed around the equal sign. Escaping equal
379373signs within values is unnecessary.
380374
381- Additionally, boolean values may be specified using any of true/false, 0/1, or
375+ All string fields except mode and output support additional operators != and ~ =
376+
377+ - != indicates a non-match
378+ - ~ = indicates a POSIX extended regular expression match
379+
380+ These string fields can also be specified as a bare word, which is equivalent to
381+ comparisons with the empty string:
382+
383+ \[summary\] \[summary!=""\]
384+
385+ \[!summary\] \[summary=""\]
386+
387+ Boolean values may be specified using any of true/false, 0/1, or
382388as bare words:
383389
384390 \[actionable=true\] \[actionable=1\] \[actionable\]
0 commit comments