Bugfix: Order of arguments passed unit tests but caused invalid parsing

of expire time argument

Modified: How icon argument is called
This commit is contained in:
61825162+CaderIdris@users.noreply.github.com 2024-04-23 12:04:05 +01:00
parent f405233080
commit a663a08bca
No known key found for this signature in database
GPG key ID: CE276296C4FE0169
2 changed files with 3 additions and 3 deletions

View file

@ -64,7 +64,7 @@ function _auto_notify_message() {
icon_arg="--icon=$icon" icon_arg="--icon=$icon"
fi 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"
elif [[ "$platform" == "Darwin" ]]; then elif [[ "$platform" == "Darwin" ]]; then
osascript \ osascript \
-e 'on run argv' \ -e 'on run argv' \