franciscolourenco / done

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

Allow configuring urgency with notify-send for failed commands #103

Closed nzig closed 3 years ago

nzig commented 3 years ago

Currently, you can set __done_notification_urgency_level to decide the urgency of the notification. However, if the command fails the urgency level is overwritten with critical. I would like for this to be configurable as well.

I thought of adding an additional configuration option: __done_notification_urgency_level_failure for this.

franciscolourenco commented 3 years ago

Available in https://github.com/franciscolourenco/done/releases/tag/1.16.0