Skip to content

Deprecating/removing per-urgency command line flags #328

@tsipinakis

Description

@tsipinakis

One of the changes I have been looking into in the long term is integrating urgency with rules. In the simplest form, having the urgency_{low,normal,critical} sections imply a match on their respective urgencies without having a separate concept of urgency within the code.

We currently have command line flags that allow the customization the attributes that can be set in an urgency section: -lb,nb,cb, -lf/nf/cf/, -lto/nto/cto, -li/ni/ci and -lfr/nfr/cfr for the background, foreground, timeout, icon and frame colour of low, normal and critical notifications respectively.

But by implementing the change mentioned above this means that 1) everything that can be set via rules can now also be set in urgency sections, so this list becomes incomplete and that 2) re-implementing these flags with the rule system adds unnecessary noise to the code.

My opinion is that these flags are redundant and overly specific since by the point that these flags are needed to be used it is probably simpler to create a second config file and use that via the -config flag.

Is anyone relying on these flags for anything? If so what's the use case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions