font=mono9
help(){
echo "USO: $0 <tiempo_en_minutos>"
echo "Ejemplo: $0 5"
}
if [ -z "$1" ]; then
help 1>&2
exit 1
fi
for t in $(seq "$1" -1 2); do
cad=$(
clear
printf "Volvemos en\n%02d minutos" "$t" |
toilet -f $font |
cowsay -n |
lolcat -f
)
printf "%s\n" "$cad"
sleep 60
done
for t in $(seq 60 -1 0); do
cad=$(
clear
printf "Volvemos en\n%02ds!!" "$t" |
toilet -f $font |
cowsay -n |
lolcat -f
)
printf "%s\n" "$cad"
sleep 1
done
application/octet-stream
This content has been proxied by September (3851b).