aboutsummaryrefslogtreecommitdiff
path: root/fun/bin
diff options
context:
space:
mode:
authorxero <x@xero.nu>2016-05-26 21:50:10 -0400
committerxero <x@xero.nu>2016-05-26 21:50:10 -0400
commitb910fad2e7aabdcd348342bdffad40f13cbb2cd0 (patch)
tree0781a6c89c637a5890f7affd1c5619d76aca716e /fun/bin
parentb4933de644101f4ccb378326f4ac04f854b12b59 (diff)
downloaddotfiles_ascii-b910fad2e7aabdcd348342bdffad40f13cbb2cd0.tar.xz
dotfiles_ascii-b910fad2e7aabdcd348342bdffad40f13cbb2cd0.zip
add metroid ascii art script
Diffstat (limited to '')
-rwxr-xr-xfun/bin/metroid139
1 files changed, 113 insertions, 26 deletions
diff --git a/fun/bin/metroid b/fun/bin/metroid
index 5bb5c72..8995836 100755
--- a/fun/bin/metroid
+++ b/fun/bin/metroid
@@ -1,27 +1,114 @@
#!/bin/sh
-cat << EOF
-
-  
-    
-    
-      
-        
-          
-          
-          
-          
-        
-            
-                 
-             
-         
-           
-           
-           
-          
-        
-            
-          
-        
-    
-EOF
+#
+# metroid: a metroid ascii banner generator
+# MMXVI xero (http://xero.nu)
+
+usage() {
+printf "usage: `basename $0` \n\
+ [-m --mini mini] \n\
+ [-s --super super] \n\
+ [-t --text text] \n\
+ [-n --normal normal] \n\
+ [-h --help help]\n"
+}
+
+text() {
+ printf "\n .___.\n / @ \ \n \ @ @ /\n {'^'}\n\n"
+}
+
+mini() {
+cat << METROID
+
+ ▄▄ ▀▀▀▀▀▀▀▀▀▀▀ ▄▄
+ ▄ ▀▀▀▀          ▀▀▀ ▄
+ ▄ ▀▀  ▀▀             ▀▀ ▄
+  ▀▀  ▀                  ▀▀ 
+ ▄ ▀▀ ▀ ▀                ▀▀▀▀▀ ▄
+ ▄     ▀                         ▄
+               ▀▀▀▀▀    ▀▀▀       
+                             ▀▀▀  ▄
+  ▀        ▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀  ▀     
+   ▀▀▀         ▀   ▀      ▀▀       
+  ▀▀▀▀    ▀▀   ▀   ▀   ▀▀    ▀▀▀▀  
+    ▀▀▀▀ ▀▀▀▀▀▀     ▀▀▀▀▀▀ ▀▀▀▀    
+▀▀▀▀  ▀▀▀▀  ▀▀▀     ▀▀▀  ▀▀▀▀  ▀▀▀▀
+ ▀▀             ▀▀▀             ▀▀
+  ▀▀      ▀  ▀   ▀  ▀      ▀▀ 
+ ▀ ▀        ▀▀▀▀▀        ▀ ▀
+ ▀▀▀ ▀ ▀   ▀ ▀ ▀▀▀
+
+METROID
+}
+
+super() {
+cat << METROID
+
+ ▄▄▄▀▀▀▀▀▀▀▀▄▄▄
+ ▄▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄▄
+ ▄▀▀▀▀▀▀▀▀▀      ▀▀▀▀▀▀▀▀▀▄
+ ▀▀▀▀ ▀▀▀▀    ▀▀    ▀▀▀▀ ▀▀▀▀
+ ▀▀▀▀▀  ▀▀▀▀▀ ▀  ▀ ▀▀▀▀▀  ▀▀▀▀▀
+ ▀ ▀▀▀▀▀ ▀▀▀ ▀▀▀▀▀▀ ▀▀▀ ▀▀▀▀▀ ▀ 
+▀▀▀▀▀▀  ▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀  ▀▀▀▀▀▀
+▀  ▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀  ▀
+▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀
+ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
+ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
+  ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ 
+ ▀▀▀▀▀▀  ▀▀▀ ▀▀▀  ▀▀▀▀▀▀
+ ▀▀▀  ▀▀   ▀▀  ▀▀▀
+ ▀▀▀▀ ▀▀▀▀
+ ▀ ▀ ▀ ▀
+
+METROID
+}
+
+normal() {
+cat << METROID
+
+  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 
+  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 
+  ▀▀▀▀▀▀                ▀▀▀▀▀▀ 
+  ▀▀▀▀    ▀▀                  ▀▀▀▀ 
+  ▀▀▀▀  ▀▀  ▀▀▀▀▀▀▀▀▀▀            ▀▀▀▀ 
+      ▀▀      ▀▀▀▀▀▀▀▀▀▀          ▀▀▀▀▀▀ 
+  ▀▀▀▀▀▀  ▀▀                      ▀▀▀▀     
+        ▀▀          ▀▀▀▀▀▀              ▀▀▀▀ 
+  ▀▀▀▀  ▀▀          ▀▀▀▀▀▀▀▀                   
+                    ▀▀    ▀▀      ▀▀▀▀         
+                    ▀▀    ▀▀            ▀▀▀▀▀▀▀▀ 
+ ▀▀▀▀    ▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀     
+     ▀▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀  ▀▀         
+     ▀▀▀▀            ▀▀    ▀▀                     
+   ▀▀▀▀▀▀    ▀▀▀▀    ▀▀    ▀▀    ▀▀▀▀    ▀▀▀▀▀▀   
+   ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀    ▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀   
+     ▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀        ▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀     
+ ▀▀▀▀    ▀▀▀▀▀▀  ▀▀▀▀        ▀▀▀▀  ▀▀▀▀▀▀    ▀▀▀▀ 
+  ▀▀▀▀        ▀▀▀▀  ▀▀▀▀▀▀▀▀  ▀▀▀▀        ▀▀▀▀ 
+      ▀▀ ▀▀ ▀▀  ▀▀        ▀▀  ▀▀ ▀▀ ▀▀     
+  ▀▀▀▀       ▀▀  ▀▀    ▀▀  ▀▀       ▀▀▀▀ 
+  ▀▀▀▀     ▀▀   ▀▀▀▀   ▀▀     ▀▀▀▀ 
+  ▀▀   ▀▀▀▀   ▀▀▀▀   ▀▀ 
+  ▀▀   ▀▀ 
+
+METROID
+}
+
+case "$1" in
+ *-m|--mini|mini*)
+ mini
+ ;;
+ *-s|--super|super*)
+ super
+ ;;
+ *-n|--normal|normal)
+ normal
+ ;;
+ *-t|--text|text)
+ text
+ ;;
+ *)
+ text
+ usage
+ ;;
+esac