Difference between revisions of "Ntfy.sh"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
  
  
 +
== See also ==
 +
* {{audio}}
  
{{audio}}
+
[[Category:IT]]

Revision as of 10:32, 3 September 2022

#!/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"'


See also

Advertising: