4 SCRIPTNAME=termux-toast
6 echo "Usage: termux-toast [-s] [text]"
7 echo "Show text in a Toast (a transient popup). The text to show is either supplied as arguments or read from stdin if no arguments are given."
8 echo " -s only show the toast for a short while"
13 while getopts :hs option
17 s) PARAMS="--ez short true";;
18 ?) echo "$SCRIPTNAME: illegal option -$OPTARG"; exit 1;
23 CMD="@TERMUX_API@ Toast $PARAMS"