Ntfy.sh

From wikieduonline
Revision as of 10:31, 3 September 2022 by Cry (talk | contribs) (Created page with " #!/bin/bash function usage() { echo "Usage: $(basename $0) text to display" exit 0 } -z $1 && { usage; } echo "$1 "|xargs -I {} osascript -e 'di...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
#!/bin/bash

function usage() {
    echo "Usage: $(basename $0) text to display"
    exit 0
}

-z $1  && { usage; }

echo "$1 "|xargs -I {} osascript -e 'display notification "{}" sound name "submarine"'

Advertising: