Skip to content

Rule to match notifications with empty body doesn't work #946

@ashish-yadav11

Description

@ashish-yadav11

Installation info

  • Version: 1.7.0
  • Install type: package
  • Distro and version: Arch Linux

After updating to version 1.7.0, rule to match notifications with empty body stopped working. Now the rule matches every notification. It used to work with previous versions.
Relevant lines from config file -

[notification without body]
    body = ""
    format = "<span font='13.5'>%s</span>"

Also dunst gives the following warning when starting (only if the above rule is kept in the config) -
WARNING: Cannot set empty value for setting body

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