-
Notifications
You must be signed in to change notification settings - Fork 363
Description
Rules are currently named in a very unpredictable matter in a way that one cannot easily distinguish between filter/match rules and actions. As an example msg_urgency
is used to match the urgency and urgency
to override it. This is probably because at the start the attributes that could be matched were different than the attributes that could be overridden (i.e. matching on appname, body etc and overriding attributes like timeout or format).
To fix that, I'd propose migrating to a much simpler naming scheme using match_
and set_
prefixes.
As an example the current matching rules would look like this:
match_appname
, match_summary
, match_urgency
And the assigning actions as follows:
set_timeout
, set_urgency
, set_foreground
, set_background
, set_icon
and set_format