blob: 0cc445cddc81d9d2f0ff969e542680408b928a18 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
# Prints a random banner using figlet and lolcat and choosing a line from ~/.config/.banners
nlines=$(cat $HOME/.config/.banners | wc -l)
line=$(($(($RANDOM % $nlines)) + 1))
figlet "Code : $(sed "${line}q;d" $HOME/.config/.banners)" | lolcat
|