-
-
Save benjifs/5ec6705551a6df681435fd41d57090a3 to your computer and use it in GitHub Desktop.
boo color script. See also curl -L git.io/BOO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# ▄▄▄▄ ▒█████ ▒█████ | |
# ▓█████▄ ▒██▒ ██▒▒██▒ ██▒ | |
# ▒██▒ ▄██▒██░ ██▒▒██░ ██▒ | |
# ▒██░█▀ ▒██ ██░▒██ ██░ | |
# ░▓█ ▀█▓░ ████▓▒░░ ████▓▒░ | |
# ░▒▓███▀▒░ ▒░▒░▒░ ░ ▒░▒░▒░ | |
# ▒░▒ ░ ░ ▒ ▒░ ░ ▒ ▒░ | |
# ░ ░ ░ ░ ░ ▒ ░ ░ ░ ▒ | |
# ░ ░ ░ ░ ░ | |
# ░ | |
# Boo color script | |
# @benjifs | |
# | |
# See also: curl -L git.io/BOO | |
f=3 b=4 | |
for j in f b; do | |
for i in {0..7}; do | |
printf -v $j$i %b "\e[${!j}${i}m" | |
done | |
done | |
bld=$'\e[1m' | |
rst=$'\e[0m' | |
inv=$'\e[7m' | |
cat << BOO | |
${rst} | |
${f1} ▄▀▀▀▀▀▀▀▄ ${f2} ▄▀▀▀▀▀▀▀▄ ${f3} ▄▀▀▀▀▀▀▀▄ ${f4} ▄▀▀▀▀▀▀▀▄ ${f5} ▄▀▀▀▀▀▀▀▄ ${f6} ▄▀▀▀▀▀▀▀▄ | |
${f1} ▄▀ █ █ ▄▄▀▄ ${f2} ▄▀ █ █ ▄▄▀▄ ${f3} ▄▀ █ █ ▄▄▀▄ ${f4} ▄▀ █ █ ▄▄▀▄ ${f5} ▄▀ █ █ ▄▄▀▄ ${f6} ▄▀ █ █ ▄▄▀▄ | |
${f1} █ ▄ ▄ ▄ ▀ █ ${f2} █ ▄ ▄ ▄ ▀ █ ${f3} █ ▄ ▄ ▄ ▀ █ ${f4} █ ▄ ▄ ▄ ▀ █ ${f5} █ ▄ ▄ ▄ ▀ █ ${f6} █ ▄ ▄ ▄ ▀ █ | |
${f1} ▀▄ ▀ ▀ ▀ ▄▀ ${f2} ▀▄ ▀ ▀ ▀ ▄▀ ${f3} ▀▄ ▀ ▀ ▀ ▄▀ ${f4} ▀▄ ▀ ▀ ▀ ▄▀ ${f5} ▀▄ ▀ ▀ ▀ ▄▀ ${f6} ▀▄ ▀ ▀ ▀ ▄▀ | |
${f1} ▀▄▄▄▄▄▄▄▄▀ ${f2} ▀▄▄▄▄▄▄▄▄▀ ${f3} ▀▄▄▄▄▄▄▄▄▀ ${f4} ▀▄▄▄▄▄▄▄▄▀ ${f5} ▀▄▄▄▄▄▄▄▄▀ ${f6} ▀▄▄▄▄▄▄▄▄▀ | |
${rst} | |
BOO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment