From 7c716aacf3129e2497cf447b50fd0e853b19763e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 17 Nov 2020 03:13:34 +0100 Subject: Stream script update --- .local/bin/brb | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) (limited to '.local') diff --git a/.local/bin/brb b/.local/bin/brb index 491a2d6..cde80bd 100755 --- a/.local/bin/brb +++ b/.local/bin/brb @@ -1,11 +1,30 @@ #!/usr/local/bin/dash +randcol() { + col=$(shuf -i 1-9 -n1) + wei=$(shuf -i 0-1 -n1) + pri="[${wei};3${col}m" + printf "\033%s" "$pri" +} + +nocol() { + printf "\033[0m" +} + while true; do clear - # figlet -s -L -c -t "Joe will be right back" | lolcat -F 0.05 - figlet -s -L -c -t "Joe will be right back" + randcol + figlet -s -L -c -t \ + -d "$HOME"/.local/packs/figlet-fonts \ + -f Banner3-D \ + "Joe will be right back" echo - # figlet -s -L -c -t "please stand by..." | lolcat -F 0.05 - figlet -s -L -c -t "please stand by..." - sleep 15 + nocol + icat "$HOME"/pics/profile/caco.png -w 80 -x 80 + randcol + figlet -s -L -c -t \ + -d "$HOME"/.local/packs/figlet-fonts \ + -f broadway_kb \ + "please stand by..." + sleep 5 done -- cgit v1.2.3