Skip to content

Feature: Add negative comparison for regex (and other things?) #1040

@fwsmit

Description

@fwsmit

Even with posix regex implemented (#1017) you cannot do negative matching (for example "appname is not firefox"). To achieve negative matching in an easy way, I'd suggest to allow writing != instead of = for regex rules. In the future this could even be used for other things like matching msg_urgency != critical.

This would look as follows:

[bigger-icons]
    appname != firefox # except for you, firefox
    icons_size = 64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions