ntfy.sh

From wikieduonline
Revision as of 10:33, 3 September 2022 by Cry (talk | contribs)
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"'


watch --interval 5 ntfy.sh "process is finished"


See also

Advertising: