This commit is contained in:
Grafcube 2024-05-08 00:55:12 +05:30 committed by GitHub
commit a2ca805074
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,7 +64,7 @@ function _auto_notify_message() {
icon_arg="--icon=$icon"
fi
notify-send "$title" "$body" --app-name=zsh $transient "--urgency=$urgency" "--expire-time=$AUTO_NOTIFY_EXPIRE_TIME" "$icon_arg"
notify-send "$title" "$body" --app-name=zsh $transient "--urgency=$urgency" "--expire-time=$AUTO_NOTIFY_EXPIRE_TIME" ${icon_arg:+"$icon_arg"}
elif [[ "$platform" == "Darwin" ]]; then
osascript \
-e 'on run argv' \