This commit is contained in:
Tomasz Boguszewski 2024-05-08 09:20:56 +00:00 committed by GitHub
commit bff3bd1bd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,10 +61,10 @@ function _auto_notify_message() {
fi fi
local icon_arg="" local icon_arg=""
if [[ -n "$icon" ]]; then if [[ -n "$icon" ]]; then
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' \