rwxrob-dot/scripts/f
Rob Muhlestein 2ea0289e9f Rebase
2022-02-09 02:29:05 -05:00

17 lines
306 B
Bash
Executable File

#!/usr/bin/env bash
clear=$'\033[2J'
top=$'\033[H'
trap "setterm --cursor on; stty echo; echo ${clear}; exit; trap -- - SIGINT SIGTERM" SIGTERM SIGINT
echo "${clear}"
while true; do
echo "${top}"
stty -echo
setterm --cursor off
echo -e "$@" | figl | lolcat
setterm --cursor off
sleep 2
done