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."
9 echo " -s only show the toast for a short while"
15 while getopts :hs option
19 s
) PARAMS
="--ez short true";;
20 ?
) echo "$SCRIPTNAME: illegal option -$OPTARG"; exit 1;
25 CMD
="@TERMUX_API@ Toast $PARAMS"