Skip to content

Instantly share code, notes, and snippets.

@jcefoli
Created April 24, 2023 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcefoli/2932472a6fb12fc2fc4a11decfe67989 to your computer and use it in GitHub Desktop.
Save jcefoli/2932472a6fb12fc2fc4a11decfe67989 to your computer and use it in GitHub Desktop.
LolBanner Setup Script (Debian) - Create colorful text banners using the 3d.flf font, figlet and lolcat (wrapped by a bash function called lolcat)
#!/usr/bin/env bash
sudo apt install figlet lolcat --no-install-recommends -y
wget https://raw.githubusercontent.com/xero/figlet-fonts/master/3d.flf -P ~/.local/share/fonts/
sudo tee ~/.bashrc << 'EOF'
lolbanner ()
{
echo
figlet -f ~/.local/share/fonts/3d.flf $@ | lolcat
echo
}
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment