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:
parent
f405233080
commit
a663a08bca
2 changed files with 3 additions and 3 deletions
|
@ -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' \
|
||||||
|
|
Loading…
Add table
Reference in a new issue