Toqozz / wired-notify

Lightweight notification daemon with highly customizable layout blocks, written in Rust.
MIT License
608 stars 28 forks source link

Replacement doesn't reset hide timeout #146

Closed nazar-pc closed 5 months ago

nazar-pc commented 6 months ago

When replacement happens from music player with a different track, original hide timeout is still ticking, so after switching a few tracks in a row notification disappears, while expectation was that notification would hide some time after last replacement instead.

Toqozz commented 6 months ago

We can have this as an option for sure, thanks! Will get to that soon.

Toqozz commented 5 months ago

Oh, we actually already have an option for this: replacing_resets_timeout.

https://github.com/Toqozz/wired-notify/blob/8ecd477c0ef921bc0abb8f7df823dda1cd78960e/wired.ron#L51

nazar-pc commented 5 months ago

Indeed, not sure how I missed it. Now wondering who wouldn't want it :thinking: