emersion / mako

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

Transient Notification #541

Open CoolnsX opened 1 month ago

CoolnsX commented 1 month ago

As a long dunst user, I have decided to try mako.

I have configured in such a way, that it almost look like my old configured dunst.

Only feature I will miss is 'Transient Notification', which when emit by notify-send via -e args, doesn't store notification in history.

I do use history a lot, and I don't want to lose my important notifications just because my mako history is filled with notify-send garbages.

I have lots of shell scripts that runs at login and are part of my workflow.

If anyone have any workaround to do this, thanks in advance.

emersion commented 1 month ago

Would it make sense to add a new configuration option to selectively disable history based on criteria?

Kind of related: https://github.com/emersion/mako/pull/477

emersion commented 1 month ago

Hm -- the D-Bus protocol has a "transient" hint - I wonder if that should skip history.

CoolnsX commented 1 month ago

@emersion this is the dunst PR for it -- https://github.com/dunst-project/dunst/issues/310

CoolnsX commented 1 month ago

you can follow the same way, like ignore transient hint, and only do when it's explicitly set in config.

CoolnsX commented 1 month ago

thanks in advance