scripts

custom scripts and utils
git clone git://git.pyratebeard.net/scripts.git
Log | Files | Refs | README

skully (3210B)


      1 #!/usr/bin/env bash
      2 #          ██              ██  ██
      3 #         ░██             ░██ ░██  ██   ██
      4 #   ██████░██  ██ ██   ██ ░██ ░██ ░░██ ██
      5 #  ██░░░░ ░██ ██ ░██  ░██ ░██ ░██  ░░███
      6 # ░░█████ ░████  ░██  ░██ ░██ ░██   ░██
      7 #  ░░░░░██░██░██ ░██  ░██ ░██ ░██   ██
      8 #  ██████ ░██░░██░░██████ ███ ███  ██
      9 # ░░░░░░  ░░  ░░  ░░░░░░ ░░░ ░░░  ░░
     10 #
     11 # ANSI color scheme script by pyratebeard
     12 # original `slendy` script by xero
     13 #
     14 initializeANSI()
     15 {
     16   esc=""
     17 
     18   blackf="${esc}[30m";   redf="${esc}[31m";    greenf="${esc}[32m"
     19   yellowf="${esc}[33m"   bluef="${esc}[34m";   purplef="${esc}[35m"
     20   cyanf="${esc}[36m";    whitef="${esc}[37m"
     21 
     22   blackb="${esc}[40m";   redb="${esc}[41m";    greenb="${esc}[42m"
     23   yellowb="${esc}[43m"   blueb="${esc}[44m";   purpleb="${esc}[45m"
     24   cyanb="${esc}[46m";    whiteb="${esc}[47m"
     25 
     26   boldon="${esc}[1m";    boldoff="${esc}[22m"
     27   italicson="${esc}[3m"; italicsoff="${esc}[23m"
     28   ulon="${esc}[4m";      uloff="${esc}[24m"
     29   invon="${esc}[7m";     invoff="${esc}[27m"
     30 
     31   reset="${esc}[0m"
     32 }
     33 
     34 initializeANSI
     35 
     36 cat << EOF
     37 
     38 $redf  ▄█████▄  $greenf  ▄█████▄  $yellowf  ▄█████▄  $bluef  ▄█████▄  $purplef  ▄█████▄  $cyanf  ▄█████▄
     39 $redf ▄███████▄ $greenf ▄███████▄ $yellowf ▄███████▄ $bluef ▄███████▄ $purplef ▄███████▄ $cyanf ▄███████▄
     40 $redf ██${boldon}${redb}██${reset}${redf}█${boldon}${redb}██${reset}${redf}██ $greenf ██${boldon}${greenb}██${reset}${greenf}█${boldon}${greenb}██${reset}${greenf}██ $yellowf ██${boldon}${yellowb}██${reset}${yellowf}█${boldon}${yellowb}██${reset}${yellowf}██ $bluef ██${boldon}${blueb}██${reset}${bluef}█${boldon}${blueb}██${reset}${bluef}██ $purplef ██${boldon}${purpleb}██${reset}${purplef}█${boldon}${purpleb}██${reset}${purplef}██ $cyanf ██${boldon}${cyanb}██${reset}${cyanf}█${boldon}${cyanb}██${reset}${cyanf}██
     41 $redf  ███████  $greenf  ███████  $yellowf  ███████  $bluef  ███████  $purplef  ███████  $cyanf  ███████
     42 $redf   █${boldon}${redb}█${reset}${redf}█${boldon}${redb}█${reset}${redf}█   $greenf   █${boldon}${greenb}█${reset}${greenf}█${boldon}${greenb}█${reset}${greenf}█   $yellowf   █${boldon}${yellowb}█${reset}${yellowf}█${boldon}${yellowb}█${reset}${yellowf}█   $bluef   █${boldon}${blueb}█${reset}${bluef}█${boldon}${blueb}█${reset}${bluef}█   $purplef   █${boldon}${purpleb}█${reset}${purplef}█${boldon}${purpleb}█${reset}${purplef}█   $cyanf   █${boldon}${cyanb}█${reset}${cyanf}█${boldon}${cyanb}█${reset}${cyanf}█
     43 $reset
     44 EOF