franciscolourenco / done

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

Add config for bell sound #38

Closed BarbzYHOOL closed 4 years ago

BarbzYHOOL commented 6 years ago

Something like:

set -l NOTIF_BEEP 1 # Allow beep or not

# Beep              
if test "$NOTIF_BEEP" -eq 1
    echo -n \a
end

(btw the bell sound doesn't work on my computer but that's not fish related)

ammgws commented 4 years ago

@BarbzYHOOL From what I can see the current code beeps if it can't find any way to display notifications. Is your idea so that you can turn off the beep in this case? Or do you mean to make it so that it beeps when displaying notifications as well?

franciscolourenco commented 4 years ago

This is supported with:

set -U __done_notify_sound 1