bump version to 0.10.0

This commit is contained in:
Michael Aquilina 2024-04-24 13:25:36 +01:00
parent 4eb63b7c1f
commit 452eee9454
No known key found for this signature in database
GPG key ID: 636066730B056BD1
2 changed files with 7 additions and 3 deletions

View file

@ -1,6 +1,10 @@
Changelog for zsh-auto-notify Changelog for zsh-auto-notify
============================= =============================
0.10.0
-----
* Allow specifying an icon with notify-send backends
0.8.0 0.8.0
----- -----
* Change notify-send application title to `zsh` * Change notify-send application title to `zsh`

View file

@ -1,4 +1,4 @@
export AUTO_NOTIFY_VERSION="0.8.1" export AUTO_NOTIFY_VERSION="0.10.0"
# Time it takes for a notification to expire # Time it takes for a notification to expire
[[ -z "$AUTO_NOTIFY_EXPIRE_TIME" ]] && [[ -z "$AUTO_NOTIFY_EXPIRE_TIME" ]] &&
@ -63,8 +63,8 @@ function _auto_notify_message() {
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' \