| 1 | #!/usr/bin/bash |
| 2 | # |
| 3 | # ANSI color scheme script featuring Space Invaders |
| 4 | # |
| 5 | # Original: http://crunchbang.org/forums/viewtopic.php?pid=126921%23p126921#p126921 |
| 6 | # Modified by lolilolicon |
| 7 | # |
| 8 | |
| 9 | f=3 b=4 |
| 10 | for j in f b; do |
| 11 | for i in {0..7}; do |
| 12 | printf -v $j$i %b "\e[${!j}${i}m" |
| 13 | done |
| 14 | done |
| 15 | bld=$'\e[1m' |
| 16 | rst=$'\e[0m' |
| 17 | |
| 18 | cat << EOF |
| 19 | |
| 20 | $f1 ▀▄ ▄▀ $f2 ▄▄▄████▄▄▄ $f3 ▄██▄ $f4 ▀▄ ▄▀ $f5 ▄▄▄████▄▄▄ $f6 ▄██▄ $rst |
| 21 | $f1 ▄█▀███▀█▄ $f2███▀▀██▀▀███ $f3▄█▀██▀█▄ $f4 ▄█▀███▀█▄ $f5███▀▀██▀▀███ $f6▄█▀██▀█▄$rst |
| 22 | $f1█▀███████▀█ $f2▀▀███▀▀███▀▀ $f3▀█▀██▀█▀ $f4█▀███████▀█ $f5▀▀███▀▀███▀▀ $f6▀█▀██▀█▀$rst |
| 23 | $f1▀ ▀▄▄ ▄▄▀ ▀ $f2 ▀█▄ ▀▀ ▄█▀ $f3▀▄ ▄▀ $f4▀ ▀▄▄ ▄▄▀ ▀ $f5 ▀█▄ ▀▀ ▄█▀ $f6▀▄ ▄▀$rst |
| 24 | |
| 25 | $bld$f1▄ ▀▄ ▄▀ ▄ $f2 ▄▄▄████▄▄▄ $f3 ▄██▄ $f4▄ ▀▄ ▄▀ ▄ $f5 ▄▄▄████▄▄▄ $f6 ▄██▄ $rst |
| 26 | $bld$f1█▄█▀███▀█▄█ $f2███▀▀██▀▀███ $f3▄█▀██▀█▄ $f4█▄█▀███▀█▄█ $f5███▀▀██▀▀███ $f6▄█▀██▀█▄$rst |
| 27 | $bld$f1▀█████████▀ $f2▀▀▀██▀▀██▀▀▀ $f3▀▀█▀▀█▀▀ $f4▀█████████▀ $f5▀▀▀██▀▀██▀▀▀ $f6▀▀█▀▀█▀▀$rst |
| 28 | $bld$f1 ▄▀ ▀▄ $f2▄▄▀▀ ▀▀ ▀▀▄▄ $f3▄▀▄▀▀▄▀▄ $f4 ▄▀ ▀▄ $f5▄▄▀▀ ▀▀ ▀▀▄▄ $f6▄▀▄▀▀▄▀▄$rst |
| 29 | |
| 30 | |
| 31 | $f7▌$rst |
| 32 | |
| 33 | $f7▌$rst |
| 34 | |
| 35 | $f7 ▄█▄ $rst |
| 36 | $f7▄█████████▄$rst |
| 37 | $f7▀▀▀▀▀▀▀▀▀▀▀$rst |
| 38 | |
| 39 | EOF |