Commits

Steven! Ragnarök  committed 6d43156

Pwetty colors!

  • Participants
  • Parent commits 0a22151

Comments (0)

Files changed (2)

+#!/bin/bash
+#
+# ANSI color scheme script featuring Space Invaders
+#
+# Original: http://crunchbanglinux.org/forums/post/126921/#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
+#!/bin/sh
+
+# ANSI Color -- use these variables to easily have different color
+#    and format output. Make sure to output the reset sequence after 
+#    colors (f = foreground, b = background), and use the 'off'
+#    feature for anything you turn on.
+
+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
+
+ $f3  ▄███████▄$rst   $f1  ▄██████▄$rst    $f2  ▄██████▄$rst    $f4  ▄██████▄$rst    $f5  ▄██████▄$rst    $f6  ▄██████▄$rst
+ $f3▄█████████▀▀$rst  $f1▄$f7█▀█$f1██$f7█▀█$f1██▄$rst  $f2▄$f7█▀█$f2██$f7█▀█$f2██▄$rst  $f4▄$f7█▀█$f4██$f7█▀█$f4██▄$rst  $f5▄$f7█▀█$f5██$f7█▀█$f5██▄$rst  $f6▄$f7█▀█$f6██$f7█▀█$f6██▄$rst
+ $f3███████▀$rst      $f1█$f7▄▄█$f1██$f7▄▄█$f1███$rst  $f2█$f7▄▄█$f2██$f7▄▄█$f2███$rst  $f4█$f7▄▄█$f4██$f7▄▄█$f4███$rst  $f5█$f7▄▄█$f5██$f7▄▄█$f5███$rst  $f6█$f7▄▄█$f6██$f7▄▄█$f6███$rst
+ $f3███████▄$rst      $f1████████████$rst  $f2████████████$rst  $f4████████████$rst  $f5████████████$rst  $f6████████████$rst
+ $f3▀█████████▄▄$rst  $f1██▀██▀▀██▀██$rst  $f2██▀██▀▀██▀██$rst  $f4██▀██▀▀██▀██$rst  $f5██▀██▀▀██▀██$rst  $f6██▀██▀▀██▀██$rst
+ $f3  ▀███████▀$rst   $f1▀   ▀  ▀   ▀$rst  $f2▀   ▀  ▀   ▀$rst  $f4▀   ▀  ▀   ▀$rst  $f5▀   ▀  ▀   ▀$rst  $f6▀   ▀  ▀   ▀$rst
+ 
+ $bld$f3  ▄███████▄   $f1  ▄██████▄    $f2  ▄██████▄    $f4  ▄██████▄    $f5  ▄██████▄    $f6  ▄██████▄$rst
+ $bld$f3▄█████████▀▀  $f1▄$f7█▀█$f1██$f7█▀█$f1██▄  $f2▄$f7█▀█$f2██$f7█▀█$f2██▄  $f4▄$f7█▀█$f4██$f7█▀█$f4██▄  $f5▄$f7█▀█$f5██$f7█▀█$f5██▄  $f6▄$f7█▀█$f6██$f7█▀█$f6██▄$rst
+ $bld$f3███████▀      $f1█$f7▄▄█$f1██$f7▄▄█$f1███  $f2█$f7▄▄█$f2██$f7▄▄█$f2███  $f4█$f7▄▄█$f4██$f7▄▄█$f4███  $f5█$f7▄▄█$f5██$f7▄▄█$f5███  $f6█$f7▄▄█$f6██$f7▄▄█$f6███$rst
+ $bld$f3███████▄      $f1████████████  $f2████████████  $f4████████████  $f5████████████  $f6████████████$rst
+ $bld$f3▀█████████▄▄  $f1██▀██▀▀██▀██  $f2██▀██▀▀██▀██  $f4██▀██▀▀██▀██  $f5██▀██▀▀██▀██  $f6██▀██▀▀██▀██$rst
+ $bld$f3  ▀███████▀   $f1▀   ▀  ▀   ▀  $f2▀   ▀  ▀   ▀  $f4▀   ▀  ▀   ▀  $f5▀   ▀  ▀   ▀  $f6▀   ▀  ▀   ▀$rst
+
+EOF