This commit is contained in:
committer@tuxwarrior
2025-05-09 18:00:43 -05:00
parent c4ebdc0fe3
commit 07a020fae5

View File

@@ -224,16 +224,21 @@ rshift() {
# ---
ascii() {
if [[ -n $1 ]] ; then
if [[ $1 == "date" ]] ; then
if [[ $1 == "banner" ]] && [[ -n $2 ]]; then
figlet -f ANSI\ Shadow -w 200 $2
elif [[ $1 == "date" ]] ; then
date | figlet -f future
elif [[ $1 == "info" ]] ; then
echo "toilet -f future Hello, World!"
echo "figlet -f future Hello, World!"
elif [[ $1 == "figlets" ]] ; then
figlets.sh
elif [[ $1 == "fonts" ]] ; then
tree /usr/share/figlet/
elif [[ $1 == "toilets" ]] ; then
toilets.sh
elif [[ $1 == "project" ]] && [[ -n $2 ]]; then
figlet -f ANSI\ Shadow $2
else
toilet -f future Hello, World!
toilet -f smbraille Try something else...
fi
else
toilet -f future --rainbow Klevstul