Skip to content

Transitioning rules to a more consistent naming scheme #349

@tsipinakis

Description

@tsipinakis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions