- #!/usr/bin/env sh
-
-
-
-
-
-
-
-
-
-
- OS="$(uname)"
-
- if which notify-send >/dev/null 2>&1; then
- notify-send nnn "Done!"
- elif [ "$OS" = "Darwin" ]; then
- osascript -e 'display notification "Done!" with title "nnn"'
- elif which ntfy >/dev/null 2>&1; then
- ntfy -t nnn send "Done!"
- fi
|