notify-program: added new entry for MacOS
This commit is contained in:
parent
f279b82081
commit
cc21679185
@ -2,3 +2,4 @@
|
|||||||
KERNEL=$(uname -sr)
|
KERNEL=$(uname -sr)
|
||||||
[[ $KERNEL =~ "icrosoft" ]] && $HOME/.local/bin/wsl-notify "$@"
|
[[ $KERNEL =~ "icrosoft" ]] && $HOME/.local/bin/wsl-notify "$@"
|
||||||
[[ $KERNEL =~ "gentoo" ]] && /usr/bin/notify-send "$@"
|
[[ $KERNEL =~ "gentoo" ]] && /usr/bin/notify-send "$@"
|
||||||
|
[[ $KERNEL =~ "Darwin" ]] && osascript -e "display notification \"$*\""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user