add script bin/rainbow64 because it's cool (requires lolcat)
This commit is contained in:
parent
9b0d9e5744
commit
e7b81669dd
|
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
DEFAULT_DELAY=0.033
|
||||||
|
DELAY=${1:-$DEFAULT_DELAY}
|
||||||
|
|
||||||
|
random_chars() {
|
||||||
|
while true; do
|
||||||
|
COLS=$(tput cols)
|
||||||
|
head -c $COLS /dev/urandom | base64 -w 0 | cut -c1-$COLS
|
||||||
|
sleep $DELAY
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
random_chars | lolcat
|
||||||
|
echo
|
||||||
|
|
||||||
Loading…
Reference in New Issue