Skip to content

Instantly share code, notes, and snippets.

@djsnipa1
Last active April 16, 2020 05:08
Show Gist options
  • Save djsnipa1/41fb7271f759a888c6ba71ca7745d9f6 to your computer and use it in GitHub Desktop.
Save djsnipa1/41fb7271f759a888c6ba71ca7745d9f6 to your computer and use it in GitHub Desktop.
Use Figlet to make a clock in your shell

Figlet Clock in shell

watch -n1 "date '+%D%n%T' | figlet -k

If you want a different font, just add -f <font-name> after | figlet

If you want to add some color, install lolcat

sudo apt-get install lolcat

then pipe it at the end

watch -n1 "date '+%D%n%T' | f iglet -k | lolcat

Got this from https://www.linux.com/learn/linux-tips-fun-figlet-and-toilet-commands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment