summaryrefslogtreecommitdiffstats
path: root/fun/.local/bin/invade-em
diff options
context:
space:
mode:
authorAmin Bandali <me@aminb.org>2015-02-13 21:21:34 -0500
committerAmin Bandali <me@aminb.org>2015-02-13 21:21:34 -0500
commit6b4d129e0d15c23c971a9e762676f210df86f260 (patch)
tree04c2d3249376e5654feb2a6824c8c06d4b4b02b4 /fun/.local/bin/invade-em
parentd0c8be2e7e1998bbd7655a6422d7624909aeea68 (diff)
downloadconfigs-6b4d129e0d15c23c971a9e762676f210df86f260.tar.gz
configs-6b4d129e0d15c23c971a9e762676f210df86f260.tar.xz
configs-6b4d129e0d15c23c971a9e762676f210df86f260.zip
add 'fun' :)
Diffstat (limited to 'fun/.local/bin/invade-em')
-rwxr-xr-xfun/.local/bin/invade-em39
1 files changed, 39 insertions, 0 deletions
diff --git a/fun/.local/bin/invade-em b/fun/.local/bin/invade-em
new file mode 100755
index 0000000..8d4f623
--- /dev/null
+++ b/fun/.local/bin/invade-em
@@ -0,0 +1,39 @@
+#!/usr/bin/bash
+#
+# ANSI color scheme script featuring Space Invaders
+#
+# Original: http://crunchbang.org/forums/viewtopic.php?pid=126921%23p126921#p126921
+# Modified by lolilolicon
+#
+
+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'
+
+cat << EOF
+
+ $f1 ▀▄ ▄▀ $f2 ▄▄▄████▄▄▄ $f3 ▄██▄ $f4 ▀▄ ▄▀ $f5 ▄▄▄████▄▄▄ $f6 ▄██▄ $rst
+ $f1 ▄█▀███▀█▄ $f2███▀▀██▀▀███ $f3▄█▀██▀█▄ $f4 ▄█▀███▀█▄ $f5███▀▀██▀▀███ $f6▄█▀██▀█▄$rst
+ $f1█▀███████▀█ $f2▀▀███▀▀███▀▀ $f3▀█▀██▀█▀ $f4█▀███████▀█ $f5▀▀███▀▀███▀▀ $f6▀█▀██▀█▀$rst
+ $f1▀ ▀▄▄ ▄▄▀ ▀ $f2 ▀█▄ ▀▀ ▄█▀ $f3▀▄ ▄▀ $f4▀ ▀▄▄ ▄▄▀ ▀ $f5 ▀█▄ ▀▀ ▄█▀ $f6▀▄ ▄▀$rst
+
+ $bld$f1▄ ▀▄ ▄▀ ▄ $f2 ▄▄▄████▄▄▄ $f3 ▄██▄ $f4▄ ▀▄ ▄▀ ▄ $f5 ▄▄▄████▄▄▄ $f6 ▄██▄ $rst
+ $bld$f1█▄█▀███▀█▄█ $f2███▀▀██▀▀███ $f3▄█▀██▀█▄ $f4█▄█▀███▀█▄█ $f5███▀▀██▀▀███ $f6▄█▀██▀█▄$rst
+ $bld$f1▀█████████▀ $f2▀▀▀██▀▀██▀▀▀ $f3▀▀█▀▀█▀▀ $f4▀█████████▀ $f5▀▀▀██▀▀██▀▀▀ $f6▀▀█▀▀█▀▀$rst
+ $bld$f1 ▄▀ ▀▄ $f2▄▄▀▀ ▀▀ ▀▀▄▄ $f3▄▀▄▀▀▄▀▄ $f4 ▄▀ ▀▄ $f5▄▄▀▀ ▀▀ ▀▀▄▄ $f6▄▀▄▀▀▄▀▄$rst
+
+
+ $f7▌$rst
+
+ $f7▌$rst
+
+ $f7 ▄█▄ $rst
+ $f7▄█████████▄$rst
+ $f7▀▀▀▀▀▀▀▀▀▀▀$rst
+
+EOF \ No newline at end of file