Skip to content

Instantly share code, notes, and snippets.

@Kegn
Created August 25, 2017 00:11
Show Gist options
  • Save Kegn/370eee19cadbb44b4b2f5547f57b5e78 to your computer and use it in GitHub Desktop.
Save Kegn/370eee19cadbb44b4b2f5547f57b5e78 to your computer and use it in GitHub Desktop.
modified ghost script
#!/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
@Kegn
Copy link
Author

Kegn commented Aug 30, 2019

oh the last ghost is broken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment