franciscolourenco / done

A fish-shell package to automatically receive notifications when long processes finish.
MIT License
766 stars 70 forks source link

Ability to set notification timeout #114

Closed alterae closed 8 months ago

alterae commented 2 years ago

Using the sway window manager with the mako notification daemon.

It would be nice if there was a way to get done notifications to automatically disappear after a certain amount of time.

ammgws commented 2 years ago

Have you tried playing around with your mako config?

I have this in mine which IIRC was so the notifications would persist, so try changing the settings:

[app-name=fish]
ignore-timeout=1
default-timeout=0
alterae commented 2 years ago

Have you tried playing around with your mako config?

I have this in mine which IIRC was so the notifications would persist, so try changing the settings:

[app-name=fish]
ignore-timeout=1
default-timeout=0

That worked, thank you!

The options I used:

[app-name=fish]
default-timeout=5000

(At least for my use case I don't need to set ignore-timeout)