Skip to content

Commit

Permalink
Merge pull request #118 from frazar/master
Browse files Browse the repository at this point in the history
Always send a transient notification with notify-send
  • Loading branch information
franciscolourenco authored Oct 3, 2021
2 parents 20dc5ee + 82a2996 commit c47d267
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions conf.d/done.fish
Original file line number Diff line number Diff line change
Expand Up @@ -256,13 +256,7 @@ if set -q _done_enabled
end
end

# make notification auto-disappear
set -l transient ""
if test "$__done_notification_transient" -eq 1
set transient --hint=int:transient:1
end

notify-send $transient --urgency=$urgency --icon=utilities-terminal --app-name=fish "$title" "$message"
notify-send --hint=int:transient:1 --urgency=$urgency --icon=utilities-terminal --app-name=fish "$title" "$message"

if test "$_done_notify_sound" -eq 1
echo -e "\a" # bell sound
Expand Down

0 comments on commit c47d267

Please sign in to comment.