summaryrefslogtreecommitdiffstats
path: root/.local/bin/brb
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-20 15:28:26 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-20 15:28:26 +0100
commitf621bfb342c77cecd43f6e3f8120589783fec457 (patch)
treedc9409b237e5032c2fdd6fcc94e2a15b38c0e5a8 /.local/bin/brb
parentFont change (diff)
downloaddotfiles-bsd-f621bfb342c77cecd43f6e3f8120589783fec457.tar.gz
dotfiles-bsd-f621bfb342c77cecd43f6e3f8120589783fec457.tar.bz2
dotfiles-bsd-f621bfb342c77cecd43f6e3f8120589783fec457.tar.xz
dotfiles-bsd-f621bfb342c77cecd43f6e3f8120589783fec457.tar.zst
dotfiles-bsd-f621bfb342c77cecd43f6e3f8120589783fec457.zip
Stream scripts update
Diffstat (limited to '')
-rwxr-xr-x.local/bin/brb27
1 files changed, 17 insertions, 10 deletions
diff --git a/.local/bin/brb b/.local/bin/brb
index cde80bd..1861978 100755
--- a/.local/bin/brb
+++ b/.local/bin/brb
@@ -2,8 +2,7 @@
randcol() {
col=$(shuf -i 1-9 -n1)
- wei=$(shuf -i 0-1 -n1)
- pri="[${wei};3${col}m"
+ pri="[1;3${col}m"
printf "\033%s" "$pri"
}
@@ -13,18 +12,26 @@ nocol() {
while true; do
clear
+ printf "\n"
randcol
figlet -s -L -c -t \
- -d "$HOME"/.local/packs/figlet-fonts \
- -f Banner3-D \
+ -d "$XDG_PACKAGE_HOME"/stream_figfonts \
+ -f banner3_d \
"Joe will be right back"
- echo
+ printf "\n\n"
nocol
- icat "$HOME"/pics/profile/caco.png -w 80 -x 80
- randcol
+ icat "$HOME"/pics/profile/caco.png -w 52 -x 82
+ printf "\033[1;36m\n"
figlet -s -L -c -t \
- -d "$HOME"/.local/packs/figlet-fonts \
- -f broadway_kb \
+ -d "$XDG_PACKAGE_HOME"/stream_figfonts \
+ -f $(ls "$XDG_PACKAGE_HOME"/stream_figfonts |
+ tr '.' '\t' |
+ awk '{print $1}' |
+ shuf -n 1) \
"please stand by..."
- sleep 5
+ nocol
+ cowsay 'Go grab some more coffee!'
+ sleep 10
done
+
+# vim: filetype=sh