Fix transient argument
The transient variable must not be quoted. Otherwise the command fails with `Invalid number of options.` for unsuccessful error codes.
This commit is contained in:
parent
71e8da986f
commit
5a50536e59
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ function _auto_notify_message() {
|
|||
urgency="critical"
|
||||
transient=""
|
||||
fi
|
||||
notify-send "$title" "$body" --app-name=zsh "$transient" "--urgency=$urgency" "--expire-time=$AUTO_NOTIFY_EXPIRE_TIME"
|
||||
notify-send "$title" "$body" --app-name=zsh $transient "--urgency=$urgency" "--expire-time=$AUTO_NOTIFY_EXPIRE_TIME"
|
||||
elif [[ "$platform" == "Darwin" ]]; then
|
||||
osascript \
|
||||
-e 'on run argv' \
|
||||
|
|
Loading…
Add table
Reference in a new issue