mirror of
https://github.com/philippdieter/zsh-auto-notify.git
synced 2025-10-13 03:58:44 +00:00
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
@ -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"
|
||||
elif [[ "$platform" == "Darwin" ]]; then
|
||||
osascript \
|
||||
-e 'on run argv' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user