emersion / mako

A lightweight Wayland notification daemon
https://wayland.emersion.fr/mako
MIT License
2.17k stars 137 forks source link

Same ID on notification renders a new notification #510

Closed apprehensions closed 5 months ago

apprehensions commented 5 months ago

For example:

notify-send -r 27312 hello
notify-send -r 27312 hi

makes the following: image

Which is unexpected, since what is expected is for one notification, to remove duplicate entries. This is inconvenient for scripts that increase the volume for example: 20240323_192451

emersion commented 5 months ago

This is by design. See discussion in https://github.com/emersion/mako/pull/168.

apprehensions commented 5 months ago

There is a "tag" mechanism you can use instead for scripts.

Thanks! Sorry for spamming the pull requests and issue, you can instead link duplicates to #270, which for me suffices:

notify-send hi --hint=string:x-dunst-stack-tag:example
notify-send hello --hint=string:x-dunst-stack-tag:example