dunst-project / dunst

Lightweight and customizable notification daemon
https://dunst-project.org
Other
4.52k stars 338 forks source link

Close the daemon when a notification is received #1153

Closed tupo2 closed 1 year ago

tupo2 commented 1 year ago

Not really an issue, but more a question: Is there a clean way to close the daemon when a notification is received and after being displayed?

biopsin commented 1 year ago

You mean dbus-daemon? then the answer is no, how you gonna recieve new notifications if you kill the dbus. If your looking for dbus free notifications you might like https://github.com/phillbush/xnotify

tupo2 commented 1 year ago

You mean dbus-daemon? then the answer is no, how you gonna recieve new notifications if you kill the dbus.

I'm talking about the dunst daemon.

If your looking for dbus free notifications you might like https://github.com/phillbush/xnotify

Thanks, I didn't know XNotify.

fwsmit commented 1 year ago

What would be the use case for this? I would mean a startup delay for every notification and your history would not be preserved

tupo2 commented 1 year ago

What would be the use case for this? I would mean a startup delay for every notification and your history would not be preserved

Preserve resources and I don't need history.

fwsmit commented 1 year ago

Dunst is already very lightweight, so I don't think this feature is necessary. I will close this as not planned