diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-17 03:13:34 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-17 03:13:34 +0100 |
commit | 7c716aacf3129e2497cf447b50fd0e853b19763e (patch) | |
tree | 80028baf290334dadcc3b4d998e7573039523f10 /.local | |
parent | Aliases update (diff) | |
download | dotfiles-bsd-7c716aacf3129e2497cf447b50fd0e853b19763e.tar.gz dotfiles-bsd-7c716aacf3129e2497cf447b50fd0e853b19763e.tar.bz2 dotfiles-bsd-7c716aacf3129e2497cf447b50fd0e853b19763e.tar.xz dotfiles-bsd-7c716aacf3129e2497cf447b50fd0e853b19763e.tar.zst dotfiles-bsd-7c716aacf3129e2497cf447b50fd0e853b19763e.zip |
Stream script update
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/brb | 29 |
1 files changed, 24 insertions, 5 deletions
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 |