dotfiles

custom dotfiles
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 6f2b6153e0fb2170071bfdfe2653e9b2b0ccfbf8
parent 880ee2a5bd6af588bcd2511d8b9d26ef27b0512d
Author: pyratebeard <root@pyratebeard.net>
Date:   Thu, 25 Feb 2021 16:47:11 +0000

colour flexing

Diffstat:
Abin/bin/blocks | 3+++
Abin/bin/colorcodes.sh | 6++++++
Abin/bin/lines | 3+++
Abin/bin/skull | 51+++++++++++++++++++++++++++++++++++++++++++++++++++
Abin/bin/skulls | 40++++++++++++++++++++++++++++++++++++++++
Abin/bin/skulls2 | 42++++++++++++++++++++++++++++++++++++++++++
6 files changed, 145 insertions(+), 0 deletions(-)

diff --git a/bin/bin/blocks b/bin/bin/blocks @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +pcs() { for i in {0..7}; do echo -en "\e[${1}$((30+$i))m █▓▒\e[0m"; done; } +printf "\n%s\n%s\n\n" "$(pcs)" "$(pcs '1;')" diff --git a/bin/bin/colorcodes.sh b/bin/bin/colorcodes.sh @@ -0,0 +1,6 @@ +for i in {0..255} ; do + printf "\x1b[48;5;%sm%3d\e[0m " "$i" "$i" + if (( i == 15 )) || (( i > 15 )) && (( (i-15) % 6 == 0 )); then + printf "\n"; + fi +done diff --git a/bin/bin/lines b/bin/bin/lines @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +pcs() { for i in {0..7}; do echo -en "\e[${1}$((30+$i))m ── \e[0m"; done; } +printf "\n%s\n%s\n\n" "$(pcs)" "$(pcs '1;')" diff --git a/bin/bin/skull b/bin/bin/skull @@ -0,0 +1,51 @@ +#!/bin/bash +# ██ ██ ██ ████ +# ░██ ░██ ░██ █░░░ █ +# ██████░██ ██ ██ ██ ░██ ░██ ██████░ ░█ +# ██░░░░ ░██ ██ ░██ ░██ ░██ ░██ ██░░░░ ███ +# ░░█████ ░████ ░██ ░██ ░██ ░██░░█████ █░░ +# ░░░░░██░██░██ ░██ ░██ ░██ ░██ ░░░░░██ █ +# ██████ ░██░░██░░██████ ███ ███ ██████ ░██████ +# ░░░░░░ ░░ ░░ ░░░░░░ ░░░ ░░░ ░░░░░░ ░░░░░░ +# +# ANSI color scheme script by pyratebeard +# original `ghosts` script by pfh +# +# Initializing mod by lolilolicon from Archlinux +# + +black=$'\e[30m' +red=$'\e[31m' +green=$'\e[32m' +yellow=$'\e[33m' +blue=$'\e[34m' +magenta=$'\e[35m' +cyan=$'\e[36m' +white=$'\e[37m' +reset=$'\e[0m' + +if [ $# -eq 0 ] ; then + COLOUR="${white}" +else + case $1 in + black) COLOUR="${black}" ;; + red) COLOUR="${red}" ;; + green) COLOUR="${green}" ;; + yellow) COLOUR="${yellow}" ;; + blue) COLOUR="${blue}" ;; + magenta) COLOUR="${magenta}" ;; + cyan) COLOUR="${cyan}" ;; + *) COLOUR="${white}" ;; + esac +fi + +cat << EOF +${COLOUR} + ▄█████▄ + ▄███████▄ + ░██ ░█ ░██ + ░░███████ + ░░█░█░█ + ░ ░ ░ +${reset} +EOF diff --git a/bin/bin/skulls b/bin/bin/skulls @@ -0,0 +1,40 @@ +#!/bin/bash +# ██ ██ ██ +# ░██ ░██ ░██ +# ██████░██ ██ ██ ██ ░██ ░██ ██████ +# ██░░░░ ░██ ██ ░██ ░██ ░██ ░██ ██░░░░ +# ░░█████ ░████ ░██ ░██ ░██ ░██░░█████ +# ░░░░░██░██░██ ░██ ░██ ░██ ░██ ░░░░░██ +# ██████ ░██░░██░░██████ ███ ███ ██████ +# ░░░░░░ ░░ ░░ ░░░░░░ ░░░ ░░░ ░░░░░░ +# +# ANSI color scheme script by pyratebeard +# original `ghosts` script by pfh +# +# Initializing mod by lolilolicon from Archlinux +# + +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 + +$f1 ▄█████▄ $f2 ▄█████▄ $f3 ▄█████▄ $f4 ▄█████▄ $f5 ▄█████▄ $f6 ▄█████▄ +$f1 ▄███████▄ $f2 ▄███████▄ $f3 ▄███████▄ $f4 ▄███████▄ $f5 ▄███████▄ $f6 ▄███████▄ +$f1 ██ █ ██ $f2 ██ █ ██ $f3 ██ █ ██ $f4 ██ █ ██ $f5 ██ █ ██ $f6 ██ █ ██ +$f1 ███████ $f2 ███████ $f3 ███████ $f4 ███████ $f5 ███████ $f6 ███████ +$f1 █ █ █ $f2 █ █ █ $f3 █ █ █ $f4 █ █ █ $f5 █ █ █ $f6 █ █ █ +$bld +$f1 ▄█████▄ $f2 ▄█████▄ $f3 ▄█████▄ $f4 ▄█████▄ $f5 ▄█████▄ $f6 ▄█████▄ +$f1 ▄███████▄ $f2 ▄███████▄ $f3 ▄███████▄ $f4 ▄███████▄ $f5 ▄███████▄ $f6 ▄███████▄ +$f1 ██ █ ██ $f2 ██ █ ██ $f3 ██ █ ██ $f4 ██ █ ██ $f5 ██ █ ██ $f6 ██ █ ██ +$f1 ███████ $f2 ███████ $f3 ███████ $f4 ███████ $f5 ███████ $f6 ███████ +$f1 █ █ █ $f2 █ █ █ $f3 █ █ █ $f4 █ █ █ $f5 █ █ █ $f6 █ █ █ +$rst +EOF diff --git a/bin/bin/skulls2 b/bin/bin/skulls2 @@ -0,0 +1,42 @@ +#!/bin/bash +# ██ ██ ██ ████ +# ░██ ░██ ░██ █░░░ █ +# ██████░██ ██ ██ ██ ░██ ░██ ██████░ ░█ +# ██░░░░ ░██ ██ ░██ ░██ ░██ ░██ ██░░░░ ███ +# ░░█████ ░████ ░██ ░██ ░██ ░██░░█████ █░░ +# ░░░░░██░██░██ ░██ ░██ ░██ ░██ ░░░░░██ █ +# ██████ ░██░░██░░██████ ███ ███ ██████ ░██████ +# ░░░░░░ ░░ ░░ ░░░░░░ ░░░ ░░░ ░░░░░░ ░░░░░░ +# +# ANSI color scheme script by pyratebeard +# original `ghosts` script by pfh +# +# Initializing mod by lolilolicon from Archlinux +# + +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 + +$f1 ▄█████▄ $f2 ▄█████▄ $f3 ▄█████▄ $f4 ▄█████▄ $f5 ▄█████▄ $f6 ▄█████▄ +$f1 ▄███████▄ $f2 ▄███████▄ $f3 ▄███████▄ $f4 ▄███████▄ $f5 ▄███████▄ $f6 ▄███████▄ +$f1░██ ░█ ░██ $f2░██ ░█ ░██ $f3░██ ░█ ░██ $f4░██ ░█ ░██ $f5░██ ░█ ░██ $f6░██ ░█ ░██ +$f1░░███████ $f2░░███████ $f3░░███████ $f4░░███████ $f5░░███████ $f6░░███████ +$f1 ░░█░█░█ $f2 ░░█░█░█ $f3 ░░█░█░█ $f4 ░░█░█░█ $f5 ░░█░█░█ $f6 ░░█░█░█ +$f1 ░ ░ ░ $f2 ░ ░ ░ $f3 ░ ░ ░ $f4 ░ ░ ░ $f5 ░ ░ ░ $f6 ░ ░ ░ +$bld +$f1 ▄█████▄ $f2 ▄█████▄ $f3 ▄█████▄ $f4 ▄█████▄ $f5 ▄█████▄ $f6 ▄█████▄ +$f1 ▄███████▄ $f2 ▄███████▄ $f3 ▄███████▄ $f4 ▄███████▄ $f5 ▄███████▄ $f6 ▄███████▄ +$f1░██ ░█ ░██ $f2░██ ░█ ░██ $f3░██ ░█ ░██ $f4░██ ░█ ░██ $f5░██ ░█ ░██ $f6░██ ░█ ░██ +$f1░░███████ $f2░░███████ $f3░░███████ $f4░░███████ $f5░░███████ $f6░░███████ +$f1 ░░█░█░█ $f2 ░░█░█░█ $f3 ░░█░█░█ $f4 ░░█░█░█ $f5 ░░█░█░█ $f6 ░░█░█░█ +$f1 ░ ░ ░ $f2 ░ ░ ░ $f3 ░ ░ ░ $f4 ░ ░ ░ $f5 ░ ░ ░ $f6 ░ ░ ░ +$rst +EOF