Skip to content

Instantly share code, notes, and snippets.

@Kegn
Created August 25, 2017 00:11
Show Gist options
  • Select an option

  • Save Kegn/370eee19cadbb44b4b2f5547f57b5e78 to your computer and use it in GitHub Desktop.

Select an option

Save Kegn/370eee19cadbb44b4b2f5547f57b5e78 to your computer and use it in GitHub Desktop.

Revisions

  1. Kegn created this gist Aug 25, 2017.
    29 changes: 29 additions & 0 deletions pac-ghost.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    #!/bin/bash

    # this has an orginal source that isn't me, but I don't have the link available atm. will post when I come across it.
    # it has been adapted to only show one row and I removed pacman

    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'
    inv=$'\e[7m'


    cat << EOF
    $rst
    $bld
    $f1 ▄██████▄ $f2 ▄██████▄ $f4 ▄██████▄ $f5 ▄██████▄ $f6 ▄██████▄
    $f1$f7█▀█$f1██$f7█▀█$f1██▄ $f2▄█$f7█ █$f2██$f7█ █$f2█▄ $f4▄█$f7█ █$f4██$f7█ █$f4█▄ $f5▄█$f7█ █$f5██$f7█ █$f5█▄ $
    $f1$f7▄▄█$f1██$f7▄▄█$f1███ $f2██$f7███$f2██$f7███$f2██ $f4██$f7███$f4██$f7███$f4██ $f5██$f7███$f5██$f7███$f5██ $
    $f1████████████ $f2████████████ $f4████████████ $f5████████████ $f6████████████
    $f1██▀██▀▀██▀██ $f2██▀██▀▀██▀██ $f4██▀██▀▀██▀██ $f5██▀██▀▀██▀██ $f6██▀██▀▀██▀██
    $f1▀ ▀ ▀ ▀ $f2▀ ▀ ▀ ▀ $f4▀ ▀ ▀ ▀ $f5▀ ▀ ▀ ▀ $f6▀ ▀ ▀ ▀
    $rst
    EOF