bump version to 0.10.0
This commit is contained in:
parent
4eb63b7c1f
commit
452eee9454
2 changed files with 7 additions and 3 deletions
|
@ -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`
|
||||||
|
|
|
@ -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' \
|
||||||
|
|
Loading…
Add table
Reference in a new issue