mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-25 00:38:23 -05:00
river: update config for river-options-v2
Also get rid of the colorscripts
This commit is contained in:
parent
6298f0c69a
commit
c09b86e0da
@ -76,9 +76,7 @@
|
||||
|
||||
- My Waybar config is heavily inspired by [@begs](https://git.sr.ht/~begs/dotfiles)
|
||||
|
||||
- I use some scripts from other people:
|
||||
- [some fzf scripts](https://github.com/DanielFGray/fzf-scripts)
|
||||
- [colorscripts](https://gitlab.com/dwt1/shell-color-scripts)
|
||||
- I use [some fzf scripts](https://github.com/DanielFGray/fzf-scripts)
|
||||
|
||||
- Artists for **kawaii** wallpapers: [@rimuu](https://rimuu.com/), [@hiten](https://www.pixiv.net/users/490219/artworks), [@Tiv](https://www.pixiv.net/en/users/35081), [@mery](https://www.pixiv.net/en/users/2750098), [@Mashima_saki](https://www.pixiv.net/en/users/18403608), [@Yuuki_Tatsuya](https://www.pixiv.net/en/users/27691), [@Bison倉鼠](https://www.pixiv.net/en/users/333556/artworks), [@Dana](https://twitter.com/hapong07), [@gomzi](https://twitter.com/gcmzi), [@Rella](https://twitter.com/Rellakinoko), [@dnwls3010](https://twitter.com/dnwls3010), [@Shigure_Ui](https://www.pixiv.net/en/users/431873), [@QuAn_](https://www.pixiv.net/en/users/6657532/artworks), [@杉87](https://twitter.com/k_su_keke1121), [@fuzichoco](https://twitter.com/fuzichoco), [@Astero](https://twitter.com/asteroid_ill), [@shin556](https://www.pixiv.net/en/users/642762), [@kaynimatic](https://twitter.com/kaynimatic)
|
||||
- Others are under MIT license
|
||||
|
@ -30,10 +30,6 @@ riverctl xcursor-theme Breeze_Snow 24
|
||||
# Set opacity and fade effect
|
||||
riverctl opacity 1.0 0.95 0.0 0.1 20
|
||||
|
||||
# Gaps
|
||||
riverctl outer-padding 4
|
||||
riverctl view-padding 4
|
||||
|
||||
# Borders
|
||||
riverctl border-width 2
|
||||
riverctl border-color-focused '#eceff4'
|
||||
@ -110,13 +106,13 @@ riverctl map normal $mod E zoom
|
||||
|
||||
# Mod+H and Mod+L to decrease/increase the main factor by 2%
|
||||
# If using rivertile(1) this determines the width of the main stack.
|
||||
riverctl map normal $mod H mod-main-factor -0.02
|
||||
riverctl map normal $mod L mod-main-factor +0.02
|
||||
riverctl map normal $mod H spawn riverctl mod-option -focused-output main_factor -0.02
|
||||
riverctl map normal $mod L spawn riverctl mod-option -focused-output main_factor +0.02
|
||||
|
||||
# Mod+Shift+H and Mod+Shift+L to increment/decrement the number of
|
||||
# main views in the layout
|
||||
riverctl map normal $mod+Shift H mod-main-count +1
|
||||
riverctl map normal $mod+Shift L mod-main-count -1
|
||||
riverctl map normal $mod+Shift H spawn riverctl mod-option -focused-output main_count +1
|
||||
riverctl map normal $mod+Shift L spawn riverctl mod-option -focused-output main_count -1
|
||||
|
||||
# Mod+Alt+{H,J,K,L} to move views
|
||||
riverctl map normal $mod+Mod1 H move left 100
|
||||
@ -198,13 +194,10 @@ riverctl map normal $mod Space toggle-float
|
||||
riverctl map normal $mod F toggle-fullscreen
|
||||
|
||||
# Control+Alt+{H,J,K,L} to change layout orientation
|
||||
riverctl map normal Mod1+Control H layout rivertile left
|
||||
riverctl map normal Mod1+Control J layout rivertile bottom
|
||||
riverctl map normal Mod1+Control K layout rivertile top
|
||||
riverctl map normal Mod1+Control L layout rivertile right
|
||||
|
||||
# Control+Alt+F to change to Full layout
|
||||
riverctl map normal Mod1+Control F layout full
|
||||
riverctl map normal Mod1+Control H spawn riverctl set-option -focused-output main_location left
|
||||
riverctl map normal Mod1+Control J spawn riverctl set-option -focused-output main_location bottom
|
||||
riverctl map normal Mod1+Control K spawn riverctl set-option -focused-output main_location top
|
||||
riverctl map normal Mod1+Control L spawn riverctl set-option -focused-output main_location right
|
||||
|
||||
# Declare a passthrough mode. This mode has only a single mapping to return to
|
||||
# normal mode. This makes it useful for testing a nested wayland compositor
|
||||
@ -252,21 +245,20 @@ riverctl float-filter-add "float"
|
||||
riverctl float-filter-add "popup"
|
||||
riverctl float-filter-add "swappy"
|
||||
riverctl float-filter-add "info.febvre.Komikku"
|
||||
riverctl float-filter-add "org.inkscape.Inkscape"
|
||||
|
||||
# Set app-ids of views which should use client side decorations
|
||||
riverctl csd-filter-add "swappy"
|
||||
|
||||
# Repeat rules for all outputs
|
||||
i=0
|
||||
while [ $i -le $(wlr-randr | grep -c "\"*.\"") ]
|
||||
do
|
||||
# Set the layout on startup
|
||||
riverctl layout rivertile left
|
||||
## Layout ───────────────────────────────────────────────────────────────────────
|
||||
|
||||
# New view starts at bottom
|
||||
riverctl attach-mode bottom
|
||||
# Default layout
|
||||
riverctl set-option layout rivertile
|
||||
|
||||
riverctl focus-output next
|
||||
i=$(( i + 1 ))
|
||||
done
|
||||
# Settings (need to be declared since we do this before starting `rivertile`)
|
||||
riverctl declare-option main_factor fixed 0.54
|
||||
riverctl declare-option main_count uint 1
|
||||
riverctl declare-option main_location string "left"
|
||||
riverctl declare-option view_padding uint 4
|
||||
riverctl declare-option outer_padding uint 4
|
||||
|
||||
exec rivertile
|
||||
|
@ -1,17 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIR_COLORSCRIPTS="$HOME/.local/bin/colorscripts"
|
||||
list_colorscripts="$(/usr/bin/ls "${DIR_COLORSCRIPTS}" | cut -d ' ' -f 1 | nl)"
|
||||
length_colorscripts="$(/usr/bin/ls "${DIR_COLORSCRIPTS}" | wc -l)"
|
||||
|
||||
_random() {
|
||||
declare -i random_index=$RANDOM%$length_colorscripts
|
||||
[[ $random_index -eq 0 ]] && random_index=1
|
||||
|
||||
random_colorscript="$(echo "${list_colorscripts}" | sed -n ${random_index}p \
|
||||
| tr -d ' ' | tr '\t' ' ' | cut -d ' ' -f 2)"
|
||||
echo "${random_colorscript}"
|
||||
exec "${DIR_COLORSCRIPTS}/${random_colorscript}"
|
||||
}
|
||||
|
||||
_random
|
@ -1,26 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# This file echoes a bunch of color codes to the
|
||||
# terminal to demonstrate what's available. Each
|
||||
# line is the color code of one forground color,
|
||||
# out of 17 (default + 16 escapes), followed by a
|
||||
# test use of that color on all nine background
|
||||
# colors (default + 8 escapes).
|
||||
#
|
||||
|
||||
T='gYw' # The test text
|
||||
|
||||
echo -e "\n 40m 41m 42m 43m\
|
||||
44m 45m 46m 47m";
|
||||
|
||||
for FGs in ' m' ' 1m' ' 30m' '1;30m' ' 31m' '1;31m' ' 32m' \
|
||||
'1;32m' ' 33m' '1;33m' ' 34m' '1;34m' ' 35m' '1;35m' \
|
||||
' 36m' '1;36m' ' 37m' '1;37m';
|
||||
do FG=${FGs// /}
|
||||
echo -en " $FGs \033[$FG $T "
|
||||
for BG in 40m 41m 42m 43m 44m 45m 46m 47m;
|
||||
do echo -en "$EINS \033[$FG\033[$BG $T \033[0m";
|
||||
done
|
||||
echo;
|
||||
done
|
||||
echo
|
@ -1,42 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: Ivo
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=134749#p134749
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m" whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${boldon}${redf} ██████ ${reset} ${boldon}${greenf}██████ ${reset}${boldon}${yellowf} ██████${reset} ${boldon}${bluef}██████ ${reset} ${boldon}${purplef} ██████${reset} ${boldon}${cyanf} ███████${reset}
|
||||
${boldon}${redf} ████████${reset} ${boldon}${greenf}██ ██ ${reset}${boldon}${yellowf}██ ${reset} ${boldon}${bluef}██ ██${reset} ${boldon}${purplef}██████ ${reset} ${boldon}${cyanf}█████████${reset}
|
||||
${redf} ██ ████${reset} ${greenf}██ ████ ${reset}${yellowf}████ ${reset} ${bluef}████ ██${reset} ${purplef}████ ${reset} ${cyanf}█████ ${reset}
|
||||
${redf} ██ ██${reset} ${greenf}██████ ${reset}${yellowf}████████${reset} ${bluef}██████ ${reset} ${purplef}████████${reset} ${cyanf}██ ${reset}
|
||||
|
||||
EOF
|
@ -1,36 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Author: Ivo
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=237794#p237794
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m";
|
||||
cyanf="${esc}[36m"; purplef="${esc}[35m"
|
||||
|
||||
boldon="${esc}[1m";
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${boldon}${redf} ■ ${boldon}${greenf} ■ ${boldon}${yellowf} ■ ${boldon}${bluef} ■ ${boldon}${purplef} ■ ${boldon}${cyanf} ■ ${reset}
|
||||
${boldon}${redf} ■■■ ${boldon}${greenf} ■■■ ${boldon}${yellowf} ■■■ ${boldon}${bluef} ■■■ ${boldon}${purplef} ■■■ ${boldon}${cyanf} ■■■ ${reset}
|
||||
${boldon}${redf} ■■■■■ ${boldon}${greenf} ■■■■■ ${boldon}${yellowf} ■■■■■ ${boldon}${bluef} ■■■■■ ${boldon}${purplef} ■■■■■ ${boldon}${cyanf} ■■■■■ ${reset}
|
||||
${redf} ■( )■ ${greenf} ■( )■ ${yellowf} ■( )■ ${bluef} ■( )■ ${purplef} ■( )■ ${cyanf} ■( )■ ${reset}
|
||||
${redf} ■■■■ ■■■■ ${greenf} ■■■■ ■■■■ ${yellowf} ■■■■ ■■■■ ${bluef} ■■■■ ■■■■ ${purplef} ■■■■ ■■■■ ${cyanf} ■■■■ ■■■■ ${reset}
|
||||
${redf} ■■ ■■ ${greenf} ■■ ■■ ${yellowf} ■■ ■■ ${bluef} ■■ ■■ ${purplef} ■■ ■■ ${cyanf} ■■ ■■ ${reset}
|
||||
|
||||
EOF
|
@ -1,23 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# ANSI color scheme script by pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=139126#p139126
|
||||
# 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▬▬▬▬▬
|
||||
$bld$f1▬▬▬▬▬ $f2▬▬▬▬▬ $f3▬▬▬▬▬ $f4▬▬▬▬▬ $f5▬▬▬▬▬ $f6▬▬▬▬▬
|
||||
$rst
|
||||
EOF
|
@ -1,4 +0,0 @@
|
||||
#!/bin/env bash
|
||||
pcs() { for i in {0..7}; do echo -en "\e[${1}$((30+$i))m \u2588\u2588 \e[0m"; done; }
|
||||
printf "\n%s\n%s\n\n" "$(pcs)" "$(pcs '1;')"
|
||||
|
@ -1,50 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: ed209
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=295676#p295676
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one. ■ ■ ▓ ■ ■ ■ ■ ■
|
||||
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${redf}■■■■${reset}${boldon}${redf}■■${reset} ${greenf}■■■■${reset}${boldon}${greenf}■■${reset} ${yellowf}■■■■${reset}${boldon}${yellowf}■■${reset} ${bluef}■■■■${reset}${boldon}${purplef}■■${reset} ${purplef}■■■■${reset}${boldon}${bluef}■■${reset} ${cyanf}■■■■${reset}${boldon}${cyanf}■■${reset}
|
||||
${redf}■■${reset}${boldon}${greenf}■■${reset}${boldon}${redf}■■${reset} ${greenf}■■${reset}${boldon}${yellowf}■■${reset}${boldon}${greenf}■■${reset} ${yellowf}■■${reset}${boldon}${bluef}■■${reset}${boldon}${yellowf}■■${reset} ${bluef}■■${reset}${purplef}■■${reset}${boldon}${purplef}■■${reset} ${purplef}■■${reset}${boldon}${cyanf}■■${reset}${boldon}${bluef}■■${reset} ${cyanf}■■${reset}${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}
|
||||
${greenf}■■${reset}${boldon}${greenf}■■${reset}${boldon}${redf}■■${reset} ${yellowf}■■${reset}${boldon}${yellowf}■■${reset}${boldon}${greenf}■■${reset} ${bluef}■■${reset}${boldon}${bluef}■■${reset}${boldon}${yellowf}■■${reset} ${boldon}${cyanf}■■${reset}${purplef}■■${reset}${boldon}${purplef}■■${reset} ${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}${boldon}${bluef}■■${reset} ${bluef}■■${reset}${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}
|
||||
${greenf}■■${reset}${boldon}${greenf}■■${reset}${boldon}${redf}■■${reset} ${yellowf}■■${reset}${boldon}${yellowf}■■${reset}${boldon}${greenf}■■${reset} ${bluef}■■${reset}${boldon}${bluef}■■${reset}${boldon}${yellowf}■■${reset} ${boldon}${cyanf}■■${reset}${purplef}■■${reset}${boldon}${purplef}■■${reset} ${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}${boldon}${bluef}■■${reset} ${bluef}■■${reset}${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}
|
||||
${redf}■■■■${reset}${boldon}${redf}■■${reset} ${greenf}■■■■${reset}${boldon}${greenf}■■${reset} ${yellowf}■■■■${reset}${boldon}${yellowf}■■${reset} ${bluef}■■■■${reset}${boldon}${purplef}■■${reset} ${purplef}■■■■${reset}${boldon}${bluef}■■${reset} ${cyanf}■■■■${reset}${boldon}${cyanf}■■${reset}
|
||||
${redf}■■${reset}${boldon}${greenf}■■${reset}${boldon}${redf}■■${reset} ${greenf}■■${reset}${boldon}${yellowf}■■${reset}${boldon}${greenf}■■${reset} ${yellowf}■■${reset}${boldon}${bluef}■■${reset}${boldon}${yellowf}■■${reset} ${bluef}■■${reset}${purplef}■■${reset}${boldon}${purplef}■■${reset} ${purplef}■■${reset}${boldon}${cyanf}■■${reset}${boldon}${bluef}■■${reset} ${cyanf}■■${reset}${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}
|
||||
${greenf}■■${reset}${boldon}${greenf}■■${reset}${boldon}${redf}■■${reset} ${yellowf}■■${reset}${boldon}${yellowf}■■${reset}${boldon}${greenf}■■${reset} ${bluef}■■${reset}${boldon}${bluef}■■${reset}${boldon}${yellowf}■■${reset} ${boldon}${cyanf}■■${reset}${purplef}■■${reset}${boldon}${purplef}■■${reset} ${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}${boldon}${bluef}■■${reset} ${bluef}■■${reset}${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}
|
||||
${greenf}■■${reset}${boldon}${greenf}■■${reset}${boldon}${redf}■■${reset} ${yellowf}■■${reset}${boldon}${yellowf}■■${reset}${boldon}${greenf}■■${reset} ${bluef}■■${reset}${boldon}${bluef}■■${reset}${boldon}${yellowf}■■${reset} ${boldon}${cyanf}■■${reset}${purplef}■■${reset}${boldon}${purplef}■■${reset} ${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}${boldon}${bluef}■■${reset} ${bluef}■■${reset}${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}
|
||||
${redf}■■■■${reset}${boldon}${redf}■■${reset} ${greenf}■■■■${reset}${boldon}${greenf}■■${reset} ${yellowf}■■■■${reset}${boldon}${yellowf}■■${reset} ${bluef}■■■■${reset}${boldon}${purplef}■■${reset} ${purplef}■■■■${reset}${boldon}${bluef}■■${reset} ${cyanf}■■■■${reset}${boldon}${cyanf}■■${reset}
|
||||
${redf}■■${reset}${boldon}${greenf}■■${reset}${boldon}${redf}■■${reset} ${greenf}■■${reset}${boldon}${yellowf}■■${reset}${boldon}${greenf}■■${reset} ${yellowf}■■${reset}${boldon}${bluef}■■${reset}${boldon}${yellowf}■■${reset} ${bluef}■■${reset}${purplef}■■${reset}${boldon}${purplef}■■${reset} ${purplef}■■${reset}${boldon}${cyanf}■■${reset}${boldon}${bluef}■■${reset} ${cyanf}■■${reset}${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}
|
||||
${greenf}■■${reset}${boldon}${greenf}■■${reset}${boldon}${redf}■■${reset} ${yellowf}■■${reset}${boldon}${yellowf}■■${reset}${boldon}${greenf}■■${reset} ${bluef}■■${reset}${boldon}${bluef}■■${reset}${boldon}${yellowf}■■${reset} ${boldon}${cyanf}■■${reset}${purplef}■■${reset}${boldon}${purplef}■■${reset} ${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}${boldon}${bluef}■■${reset} ${bluef}■■${reset}${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}
|
||||
${greenf}■■${reset}${boldon}${greenf}■■${reset}${boldon}${redf}■■${reset} ${yellowf}■■${reset}${boldon}${yellowf}■■${reset}${boldon}${greenf}■■${reset} ${bluef}■■${reset}${boldon}${bluef}■■${reset}${boldon}${yellowf}■■${reset} ${boldon}${cyanf}■■${reset}${purplef}■■${reset}${boldon}${purplef}■■${reset} ${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}${boldon}${bluef}■■${reset} ${bluef}■■${reset}${boldon}${purplef}■■${reset}${boldon}${cyanf}■■${reset}
|
||||
|
||||
EOF
|
@ -1,63 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[1;30m"; redb="${esc}[1;31m"; greenb="${esc}[1;32m"
|
||||
yellowb="${esc}[1;33m" blueb="${esc}[1;34m"; purpleb="${esc}[1;35m"
|
||||
cyanb="${esc}[1;36m"; whiteb="${esc}[1;37m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
numbers (){
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${blackf}11111111${reset} ${redf}22222222${reset} ${greenf}33333333${reset} ${yellowf}44444444${reset} ${bluef}55555555${reset} ${purplef}66666666${reset} ${cyanf}77777777${reset} ${whitef}88888888${reset}
|
||||
${blackb}11111111${reset} ${redb}22222222${reset} ${greenb}33333333${reset} ${yellowb}44444444${reset} ${blueb}55555555${reset} ${purpleb}66666666${reset} ${cyanb}77777777${reset} ${whiteb}88888888${reset}
|
||||
|
||||
EOF
|
||||
|
||||
}
|
||||
|
||||
blocks (){
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${blackf}████${reset}${blackb}████${reset} ${redf}████${reset}${redb}████${reset} ${greenf}████${reset}${greenb}████${reset} ${yellowf}████${reset}${yellowb}████${reset} ${bluef}████${reset}${blueb}████${reset} ${purplef}████${reset}${purpleb}████${reset} ${cyanf}████${reset}${cyanb}████${reset} ${whitef}████${reset}${whiteb}████${reset}
|
||||
${blackf}████${reset}${blackb}████${reset} ${redf}████${reset}${redb}████${reset} ${greenf}████${reset}${greenb}████${reset} ${yellowf}████${reset}${yellowb}████${reset} ${bluef}████${reset}${blueb}████${reset} ${purplef}████${reset}${purpleb}████${reset} ${cyanf}████${reset}${cyanb}████${reset} ${whitef}████${reset}${whiteb}████${reset}
|
||||
${blackf}████${reset}${blackb}████${reset} ${redf}████${reset}${redb}████${reset} ${greenf}████${reset}${greenb}████${reset} ${yellowf}████${reset}${yellowb}████${reset} ${bluef}████${reset}${blueb}████${reset} ${purplef}████${reset}${purpleb}████${reset} ${cyanf}████${reset}${cyanb}████${reset} ${whitef}████${reset}${whiteb}████${reset}
|
||||
|
||||
EOF
|
||||
|
||||
}
|
||||
|
||||
case $1 in
|
||||
b) blocks;;
|
||||
n) numbers;;
|
||||
a) blocks && numbers;;
|
||||
*) blocks && numbers;;
|
||||
esac
|
@ -1,38 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# colorbars - smpte color bars in sh
|
||||
# http://git.io/colorbars
|
||||
|
||||
echo
|
||||
|
||||
for y in $(seq 0 13); do
|
||||
printf %s ' '
|
||||
for color in 7 3 6 2 5 1 4; do
|
||||
tput setab ${color}
|
||||
printf %s ' '
|
||||
done
|
||||
tput sgr0
|
||||
echo
|
||||
done
|
||||
|
||||
for y in 0 1; do
|
||||
printf %s ' '
|
||||
for color in 4 0 5 0 6 0 7; do
|
||||
tput setab ${color}
|
||||
printf %s ' '
|
||||
done
|
||||
tput sgr0
|
||||
echo
|
||||
done
|
||||
|
||||
for y in $(seq 0 4); do
|
||||
printf %s ' '
|
||||
for color in 4 4 4 4 4 7 7 7 7 7 5 5 5 5 5 0 0 0 0 0 0 0 0 0 0 0 0 0; do
|
||||
tput setab ${color}
|
||||
printf %s ' '
|
||||
done
|
||||
tput sgr0
|
||||
echo
|
||||
done
|
||||
|
||||
echo
|
@ -1,30 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Daniel Crisman's ANSI color chart script from
|
||||
# The Bash Prompt HOWTO: 6.1. Colours
|
||||
# http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html
|
||||
#
|
||||
# This function echoes a bunch of color codes to the
|
||||
# terminal to demonstrate what's available. Each
|
||||
# line is the color code of one forground color,
|
||||
# out of 17 (default + 16 escapes), followed by a
|
||||
# test use of that color on all nine background
|
||||
# colors (default + 8 escapes).
|
||||
|
||||
T='•••' # The text for the color test
|
||||
|
||||
echo -e "\n def 40m 41m 42m 43m 44m 45m 46m 47m";
|
||||
|
||||
for FGs in ' m' ' 1m' ' 30m' '1;30m' ' 31m' '1;31m' ' 32m' \
|
||||
'1;32m' ' 33m' '1;33m' ' 34m' '1;34m' ' 35m' '1;35m' \
|
||||
' 36m' '1;36m' ' 37m' '1;37m';
|
||||
|
||||
do FG=${FGs// /}
|
||||
echo -en " $FGs \033[$FG $T "
|
||||
|
||||
for BG in 40m 41m 42m 43m 44m 45m 46m 47m;
|
||||
do echo -en "$EINS \033[$FG\033[$BG $T \033[0m";
|
||||
done
|
||||
echo;
|
||||
done
|
||||
echo
|
@ -1,21 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Author: machinebacon
|
||||
# Source: http://linuxbbq.org/bbs/viewtopic.php?f=4&t=1656#p33237
|
||||
|
||||
T='*' # The test text
|
||||
|
||||
echo -e "\n 40m 41m 42m 43m\
|
||||
44m 45m 46m 47m";
|
||||
|
||||
for FGs in ' m' ' 1m' ' 30m' '1;30m' ' 31m' '1;31m' ' 32m' \
|
||||
'1;32m' ' 33m' '1;33m' ' 34m' '1;34m' ' 35m' '1;35m' \
|
||||
' 36m' '1;36m' ' 37m' '1;37m';
|
||||
do FG=${FGs// /}
|
||||
echo -en " $FGs \033[$FG $T "
|
||||
for BG in 40m 41m 42m 43m 44m 45m 46m 47m;
|
||||
do echo -en "$EINS \033[$FG\033[$BG $T \033[0m";
|
||||
done
|
||||
echo;
|
||||
done
|
||||
echo
|
@ -1,34 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Original: http://frexx.de/xterm-256-notes/
|
||||
# http://frexx.de/xterm-256-notes/data/colortable16.sh
|
||||
# Modified by Aaron Griffin
|
||||
# and further by Kazuo Teramoto
|
||||
|
||||
FGNAMES=(' black ' ' red ' ' green ' ' yellow' ' blue ' 'magenta' ' cyan ' ' white ')
|
||||
BGNAMES=('DFT' 'BLK' 'RED' 'GRN' 'YEL' 'BLU' 'MAG' 'CYN' 'WHT')
|
||||
|
||||
echo " ┌──────────────────────────────────────────────────────────────────────────┐"
|
||||
for b in {0..8}; do
|
||||
((b>0)) && bg=$((b+39))
|
||||
|
||||
echo -en "\033[0m ${BGNAMES[b]} │ "
|
||||
|
||||
for f in {0..7}; do
|
||||
echo -en "\033[${bg}m\033[$((f+30))m ${FGNAMES[f]} "
|
||||
done
|
||||
|
||||
echo -en "\033[0m │"
|
||||
echo -en "\033[0m\n\033[0m │ "
|
||||
|
||||
for f in {0..7}; do
|
||||
echo -en "\033[${bg}m\033[1;$((f+30))m ${FGNAMES[f]} "
|
||||
done
|
||||
|
||||
echo -en "\033[0m │"
|
||||
echo -e "\033[0m"
|
||||
|
||||
((b<8)) &&
|
||||
echo " ├──────────────────────────────────────────────────────────────────────────┤"
|
||||
done
|
||||
echo " └──────────────────────────────────────────────────────────────────────────┘"
|
@ -1,13 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Author: baskerville
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=288344#p288344
|
||||
|
||||
printf "\033[0m
|
||||
\033[49;35m|\033[49;31m|\033[101;31m|\033[41;97m|\033[49;91m|\033[49;93m|\033[0m
|
||||
\033[105;35m|\033[45;97m|\033[49;97m||\033[100;97m||\033[49;37m||\033[103;33m|\033[43;97m|\033[0m
|
||||
\033[49;95m|\033[49;94m|\033[100;37m||\033[40;97m||\033[40;37m||\033[49;33m|\033[49;32m|\033[0m
|
||||
\033[104;34m|\033[44;97m|\033[49;90m||\033[40;39m||\033[49;39m||\033[102;32m|\033[42;97m|\033[0m
|
||||
\033[49;34m|\033[49;36m|\033[106;36m|\033[46;97m|\033[49;96m|\033[49;92m|\033[0m
|
||||
|
||||
"
|
@ -1,43 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: gutterslob
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=148022#p148022
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${reset}${redf} ██ ██ ${reset}${greenf} ██ ██ ${reset}${yellowf} ██ ██ ${reset}${bluef} ██ ██ ${reset}${purplef} ██ ██ ${reset}${cyanf} ██ ██ ${reset}
|
||||
${reset}${redf}██████████ ${reset}${greenf} ██████████ ${reset}${yellowf} ██████████ ${reset}${bluef} ██████████ ${reset}${purplef} ██████████ ${reset} ${cyanf}██████████ ${reset}
|
||||
${reset}${redf} ██${boldon}██${boldoff}██ ${reset}${greenf} ██${boldon}██${boldoff}██ ${reset}${yellowf} ██${boldon}██${boldoff}██ ${reset}${bluef} ██${boldon}██${boldoff}██ ${reset}${purplef} ██${boldon}██${boldoff}██ ${reset}${cyanf} ██${boldon}██${boldoff}██ ${reset}
|
||||
${reset}${redf}██████████ ${reset}${greenf} ██████████ ${reset}${yellowf} ██████████ ${bluef} ██████████ ${purplef} ██████████ ${reset}${cyanf} ██████████${reset}
|
||||
${reset}${redf} ██ ██ ${reset}${greenf} ██ ██ ${reset}${yellowf} ██ ██ ${reset}${bluef} ██ ██ ${reset}${purplef} ██ ██ ${reset}${cyanf} ██ ██ ${reset}
|
||||
${reset}
|
||||
EOF
|
@ -1,42 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: steampunknyanja
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=146715#p146715
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${reset}${redf} ██ ██ ${reset}${boldon}${redf}██ ${reset}${greenf} ██ ██ ${reset}${boldon}${greenf}██ ${reset}${yellowf} ██ ██ ${reset}${boldon}${yellowf}██ ${reset}${bluef} ██ ██ ${reset}${boldon}${bluef}██ ${reset}${purplef} ██ ██ ${reset}${boldon}${purplef}██ ${reset}${cyanf} ██ ██ ${reset}${boldon}${cyanf}██
|
||||
${reset}${redf}██████████ ${reset}${boldon}${redf}██ ${reset}${greenf}██████████ ${reset}${boldon}${greenf}██ ${reset}${yellowf}██████████ ${reset}${boldon}${yellowf}██ ${reset}${bluef}██████████ ${reset}${boldon}${bluef}██ ${reset}${purplef}██████████ ${reset}${boldon}${purplef}██ ${reset}${cyanf}██████████ ${reset}${boldon}${cyanf}██
|
||||
${reset}${redf} ██ ██ ${reset}${boldon}${redf}██ ${reset}${greenf} ██ ██ ${reset}${boldon}${greenf}██ ${reset}${yellowf} ██ ██ ${reset}${boldon}${yellowf}██ ${reset}${bluef} ██ ██ ${reset}${boldon}${bluef}██ ${reset}${purplef} ██ ██ ${reset}${boldon}${purplef}██ ${reset}${cyanf} ██ ██ ${reset}${boldon}${cyanf}██
|
||||
${reset}${redf}██████████ ${reset}${greenf}██████████ ${reset}${yellowf}██████████ ${reset}${bluef}██████████ ${reset}${purplef}██████████ ${reset}${cyanf}██████████
|
||||
${reset}${redf} ██ ██ ${reset}${boldon}${redf}██ ${reset}${greenf} ██ ██ ${reset}${boldon}${greenf}██ ${reset}${yellowf} ██ ██ ${reset}${boldon}${yellowf}██ ${reset}${bluef} ██ ██ ${reset}${boldon}${bluef}██ ${reset}${purplef} ██ ██ ${reset}${boldon}${purplef}██ ${reset}${cyanf} ██ ██ ${reset}${boldon}${cyanf}██
|
||||
${reset}
|
||||
EOF
|
@ -1,42 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: thevdude
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=147530#p147530
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
clear
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${reset}${redf}▄█▄█▄ ${reset}${boldon}${redf}█ ${reset}${greenf}▄█▄█▄ ${reset}${boldon}${greenf}█ ${reset}${yellowf}▄█▄█▄ ${reset}${boldon}${yellowf}█ ${reset}${bluef}▄█▄█▄ ${reset}${boldon}${bluef}█ ${reset}${purplef}▄█▄█▄ ${reset}${boldon}${purplef}█ ${reset}${cyanf}▄█▄█▄ ${reset}${boldon}${cyanf}█${reset}
|
||||
${reset}${redf}▄█▄█▄ ${reset}${boldon}${redf}▀ ${reset}${greenf}▄█▄█▄ ${reset}${boldon}${greenf}▀ ${reset}${yellowf}▄█▄█▄ ${reset}${boldon}${yellowf}▀ ${reset}${bluef}▄█▄█▄ ${reset}${boldon}${bluef}▀ ${reset}${purplef}▄█▄█▄ ${reset}${boldon}${purplef}▀ ${reset}${cyanf}▄█▄█▄ ${reset}${boldon}${cyanf}▀${reset}
|
||||
${reset}${redf} ▀ ▀ ${reset}${boldon}${redf}▀ ${reset}${greenf} ▀ ▀ ${reset}${boldon}${greenf}▀ ${reset}${yellowf} ▀ ▀ ${reset}${boldon}${yellowf}▀ ${reset}${bluef} ▀ ▀ ${reset}${boldon}${bluef}▀ ${reset}${purplef} ▀ ▀ ${reset}${boldon}${purplef}▀ ${reset}${cyanf} ▀ ▀ ${reset}${boldon}${cyanf}▀${reset}
|
||||
EOF
|
@ -1,52 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=129265#p129265
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
# ****************************** Building blocks: █ ▓ ▒ ░ ▄ ▀ ▐ ▌ ● ═ ║ ╔ ╦ ╗ ╚ ╩ ╝ ■ ▬ ▲ ▼ ◄ ►
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${redf} ▄████▄ ${greenf} ▄████▄ ${yellowf} ▄████▄ ${bluef} ▄████▄ ${purplef} ▄████▄ ${cyanf} ▄████▄
|
||||
${redf} ██▀▀▀▀██ ${greenf} ██▀▀▀▀██ ${yellowf} ██▀▀▀▀██ ${bluef} ██▀▀▀▀██ ${purplef} ██▀▀▀▀██ ${cyanf} ██▀▀▀▀██
|
||||
${redf} █ █ ${greenf} █ █ ${yellowf} █ █ ${bluef} █ █ ${purplef} █ █ ${cyanf} █ █
|
||||
${redf} █ ▄▀▀▄ █ ${greenf} █ ▄▀▀▄ █ ${yellowf} █ ▄▀▀▄ █ ${bluef} █ ▄▀▀▄ █ ${purplef} █ ▄▀▀▄ █ ${cyanf} █ ▄▀▀▄ █
|
||||
${redf} █ ▄█▬▄▄▬█▄ █ ${greenf}█ ▄█▬▄▄▬█▄ █ ${yellowf}█ ▄█▬▄▄▬█▄ █ ${bluef}█ ▄█▬▄▄▬█▄ █ ${purplef}█ ▄█▬▄▄▬█▄ █ ${cyanf}█ ▄█▬▄▄▬█▄ █
|
||||
|
||||
${boldon}
|
||||
${redf} ▄████▄ ${greenf} ▄████▄ ${yellowf} ▄████▄ ${bluef} ▄████▄ ${purplef} ▄████▄ ${cyanf} ▄████▄
|
||||
${redf} ██▀▀▀▀██ ${greenf} ██▀▀▀▀██ ${yellowf} ██▀▀▀▀██ ${bluef} ██▀▀▀▀██ ${purplef} ██▀▀▀▀██ ${cyanf} ██▀▀▀▀██
|
||||
${redf} █ █ ${greenf} █ █ ${yellowf} █ █ ${bluef} █ █ ${purplef} █ █ ${cyanf} █ █
|
||||
${redf} █ ▄▀▀▄ █ ${greenf} █ ▄▀▀▄ █ ${yellowf} █ ▄▀▀▄ █ ${bluef} █ ▄▀▀▄ █ ${purplef} █ ▄▀▀▄ █ ${cyanf} █ ▄▀▀▄ █
|
||||
${redf} █ ▄█▬▄▄▬█▄ █ ${greenf}█ ▄█▬▄▄▬█▄ █ ${yellowf}█ ▄█▬▄▄▬█▄ █ ${bluef}█ ▄█▬▄▄▬█▄ █ ${purplef}█ ▄█▬▄▄▬█▄ █ ${cyanf}█ ▄█▬▄▄▬█▄ █
|
||||
${reset}
|
||||
|
||||
EOF
|
@ -1,45 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# ANSI color scheme script by pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=144011#p144011
|
||||
# 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█-----$bld█ $rst$f2█-----$bld█$rst $f3█-----$bld█$rst $f4█-----$bld█$rst $f5█-----$bld█$rst $f6█-----$bld█$rst
|
||||
$f1█---$bld█$rst $f2█---$bld█$rst $f3█---$bld█$rst $f4█---$bld█$rst $f5█---$bld█$rst $f6█---$bld█$rst
|
||||
$f1 █-$bld█$rst $f2 █-$bld█$rst $f3 █-$bld█$rst $f4 █-$bld█$rst $f5 █-$bld█$rst $f6 █-$bld█$rst
|
||||
$f1█$rst $f2█$rst $f3█$rst $f4█$rst $f5█$rst $f6█$rst
|
||||
$f1$bld█-$rst$f1█$rst $f2$bld█_$rst$f2█$rst $f3$bld█-$rst$f3█$rst $f4$bld█-$rst$f4█$rst $f5$bld█-$rst$f5█$rst $f6$bld█-$rst$f6█$rst
|
||||
$f1$bld█---$rst$f1█$rst $f2$bld█---$rst$f2█$rst $f3$bld█---$rst$f3█$rst $f4$bld█---$rst$f4█$rst $f5$bld█---$rst$f5█$rst $f6$bld█---$rst$f6█$rst
|
||||
$f1$bld█-----$rst$f1█$rst $f2$bld█-----$rst$f2█$rst $f3$bld█-----$rst$f3█$rst $f4$bld█-----$rst$f4█$rst $f5$bld█-----$rst$f5█$rst $f6$bld█-----$rst$f6█$rst
|
||||
$f1$bld█---$rst$f1█$rst $f2$bld█---$rst$f2█$rst $f3$bld█---$rst$f3█$rst $f4$bld█---$rst$f4█$rst $f5$bld█---$rst$f5█$rst $f6$bld█---$rst$f6█$rst
|
||||
$f1$bld█-$rst$f1█$rst $f2$bld█-$rst$f2█$rst $f3$bld█-$rst$f3█$rst $f4$bld█-$rst$f4█$rst $f5$bld█-$rst$f5█$rst $f6$bld█-$rst$f6█$rst
|
||||
$f1$bld█$rst $f2$bld█$rst $f3$bld█$rst $f4$bld█$rst $f5$bld█$rst $f6$bld█$rst
|
||||
$f1█-$bld█$rst $f2█-$bld█$rst $f3█-$bld█$rst $f4█-$bld█$rst $f5█-$bld█$rst $f6█-$bld█$rst
|
||||
$f1█---$bld█$rst $f2█---$bld█$rst $f3█---$bld█$rst $f4█---$bld█$rst $f5█---$bld█$rst $f6█---$bld█$rst
|
||||
$f1█-----$bld█ $rst$f2█-----$bld█$rst $f3█-----$bld█$rst $f4█-----$bld█$rst $f5█-----$bld█$rst $f6█-----$bld█$rst
|
||||
$f1█---$bld█$rst $f2█---$bld█$rst $f3█---$bld█$rst $f4█---$bld█$rst $f5█---$bld█$rst $f6█---$bld█$rst
|
||||
$f1 █-$bld█$rst $f2 █-$bld█$rst $f3 █-$bld█$rst $f4 █-$bld█$rst $f5 █-$bld█$rst $f6 █-$bld█$rst
|
||||
$f1█$rst $f2█$rst $f3█$rst $f4█$rst $f5█$rst $f6█$rst
|
||||
$f1$bld█-$rst$f1█$rst $f2$bld█_$rst$f2█$rst $f3$bld█-$rst$f3█$rst $f4$bld█-$rst$f4█$rst $f5$bld█-$rst$f5█$rst $f6$bld█-$rst$f6█$rst
|
||||
$f1$bld█---$rst$f1█$rst $f2$bld█---$rst$f2█$rst $f3$bld█---$rst$f3█$rst $f4$bld█---$rst$f4█$rst $f5$bld█---$rst$f5█$rst $f6$bld█---$rst$f6█$rst
|
||||
$f1$bld█-----$rst$f1█$rst $f2$bld█-----$rst$f2█$rst $f3$bld█-----$rst$f3█$rst $f4$bld█-----$rst$f4█$rst $f5$bld█-----$rst$f5█$rst $f6$bld█-----$rst$f6█$rst
|
||||
$f1$bld█---$rst$f1█$rst $f2$bld█---$rst$f2█$rst $f3$bld█---$rst$f3█$rst $f4$bld█---$rst$f4█$rst $f5$bld█---$rst$f5█$rst $f6$bld█---$rst$f6█$rst
|
||||
$f1$bld█-$rst$f1█$rst $f2$bld█-$rst$f2█$rst $f3$bld█-$rst$f3█$rst $f4$bld█-$rst$f4█$rst $f5$bld█-$rst$f5█$rst $f6$bld█-$rst$f6█$rst
|
||||
$f1$bld█$rst $f2$bld█$rst $f3$bld█$rst $f4$bld█$rst $f5$bld█$rst $f6$bld█$rst
|
||||
$f1█-$bld█$rst $f2█-$bld█$rst $f3█-$bld█$rst $f4█-$bld█$rst $f5█-$bld█$rst $f6█-$bld█$rst
|
||||
$f1█---$bld█$rst $f2█---$bld█$rst $f3█---$bld█$rst $f4█---$bld█$rst $f5█---$bld█$rst $f6█---$bld█$rst
|
||||
$f1█-----$bld█ $rst$f2█-----$bld█$rst $f3█-----$bld█$rst $f4█-----$bld█$rst $f5█-----$bld█$rst $f6█-----$bld█$rst
|
||||
|
||||
EOF
|
@ -1,48 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: thevdude
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=144700#p144700
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
clear
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${boldon}${whitef} ▄▄▄${reset}
|
||||
${boldon}${whitef} ▄█████▄▄ ${reset}
|
||||
${boldon}${whitef}███${cyanb}▀▀▀▀${blackb}▀${cyanb}▀${blackb}▀${cyanb}▀${reset}
|
||||
${boldon}${whitef}███${cyanb}▄ ${boldoff}${blackf}▀ ▀${reset}${cyanf}▀${reset}
|
||||
${boldon}${whitef} ▄${cyanb} ${reset}${boldon}${whitef}█████▄ ${boldoff}${redf}█▄${reset}
|
||||
${boldoff}${redf}▀▀${reset}${boldon}${redb}${whitef}▄${cyanb}▄ ${redb}▄▄▄${reset}${boldoff}${redf}▀██▀${reset}
|
||||
${boldon}${whitef} ██▀▀▀██▀ ${boldoff}${redf}▀${reset}
|
||||
${boldon}${whitef} ▀▀▀▀ ▀▀▀▀${reset}
|
||||
|
||||
EOF
|
@ -1,45 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=127737#p127737
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
clear
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${white}╔══════════════════════════════════════════════════════════════════╗
|
||||
${white}║ ${redf} ▄█ █▄${reset} ${greenf} ▄█ █▄${reset} ${yellowf} ▄█ █▄${reset} ${bluef} ▄█ █▄${reset} ${purplef} ▄█ █▄${reset} ${cyanf} ▄█ █▄${reset} ${white}║
|
||||
${white}║ ${boldon}${redf}▄█◄► ◄►█▄${reset} ${boldon}${greenf}▄█◄► ◄►█▄${reset} ${boldon}${yellowf}▄█◄► ◄►█▄${reset} ${boldon}${bluef}▄█◄► ◄►█▄${reset} ${boldon}${purplef}▄█◄► ◄►█▄${reset} ${boldon}${cyanf}▄█◄► ◄►█▄${reset} ${white}║
|
||||
${white}║ ${boldon}${redf}▀█ █▀${reset} ${boldon}${greenf}▀█ █▀${reset} ${boldon}${yellowf}▀█ █▀${reset} ${boldon}${bluef}▀█ █▀${reset} ${boldon}${purplef}▀█ █▀${reset} ${boldon}${cyanf}▀█ █▀${reset} ${white}║
|
||||
${white}║ ${redf} ▀█ █▀${reset} ${greenf} ▀█ █▀${reset} ${yellowf} ▀█ █▀${reset} ${bluef} ▀█ █▀${reset} ${purplef} ▀█ █▀${reset} ${cyanf} ▀█ █▀${reset} ${white}║
|
||||
${white}╚══════════════════════════════════════════════════════════════════╝
|
||||
|
||||
EOF
|
@ -1,41 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=127737#p127737
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${redf}▒▒▒▒${reset} ${boldon}${redf}▒▒${reset} ${greenf}▒▒▒▒${reset} ${boldon}${greenf}▒▒${reset} ${yellowf}▒▒▒▒${reset} ${boldon}${yellowf}▒▒${reset} ${bluef}▒▒▒▒${reset} ${boldon}${bluef}▒▒${reset} ${purplef}▒▒▒▒${reset} ${boldon}${purplef}▒▒${reset} ${cyanf}▒▒▒▒${reset} ${boldon}${cyanf}▒▒${reset}
|
||||
${redf}▒▒ ■${reset} ${boldon}${redf}▒▒${reset} ${greenf}▒▒ ■${reset} ${boldon}${greenf}▒▒${reset} ${yellowf}▒▒ ■${reset} ${boldon}${yellowf}▒▒${reset} ${bluef}▒▒ ■${reset} ${boldon}${bluef}▒▒${reset} ${purplef}▒▒ ■${reset} ${boldon}${purplef}▒▒${reset} ${cyanf}▒▒ ■${reset} ${boldon}${cyanf}▒▒${reset}
|
||||
${redf}▒▒ ${reset}${boldon}${redf}▒▒▒▒${reset} ${greenf}▒▒ ${reset}${boldon}${greenf}▒▒▒▒${reset} ${yellowf}▒▒ ${reset}${boldon}${yellowf}▒▒▒▒${reset} ${bluef}▒▒ ${reset}${boldon}${bluef}▒▒▒▒${reset} ${purplef}▒▒ ${reset}${boldon}${purplef}▒▒▒▒${reset} ${cyanf}▒▒ ${reset}${boldon}${cyanf}▒▒▒▒${reset}
|
||||
|
||||
EOF
|
@ -1,30 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# ANSI color scheme script by pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=157979#p157979
|
||||
# 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
|
@ -1,31 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# ANSI color scheme script by pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=151602#p151602
|
||||
# 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
|
@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Author: venam
|
||||
# Source: https://nixers.net/showthread.php?tid=1921
|
||||
|
||||
cat << EOF
|
||||
[1;33m._________________________________. [0;0;37m
|
||||
[1;33m|[34;7;1m [0;0;0m[0;0;46m [36;7;1m [0;0;45m [35;7;1m [0;0;0m[0;0;45m [0;0;0m[0;0;41m [0;0;0m[1;33m| [0;0;37m
|
||||
[1;33m|[36;7;1m [0;0;0m[0;0;44m [0;0;0m [0;34m_ [31;7;1m [0;0;0m[35;7;1m [0;0;0m[1;33m| [0;0;37m
|
||||
[1;33m|[34;7;1m [0;0;0m [0;34m//\ [0;0;41m [0;0;0m[1;33m| [0;0;37m
|
||||
[1;33m|[34;7;1m [0;0;0m [0;32m/[1;32m/-- [0;34m/[1;34m/ [0;36m\ [0;32m========, [0;0;41m [0;0;0m[1;33m| [0;0;37m
|
||||
[1;33m|[0;0;44m [0;0;0m [0;32m/[1;32m/ [0;34m/[1;34m/ [0;36m\ [0;32m/ [31;7;1m [0;0;0m[1;33m| [0;0;37m
|
||||
[1;33m|[0;0;44m [0;0;0m [0;32m/[1;32m/ [0;34m/[1;34m/ [0;36m\ [0;32m/ [31;7;1m [0;0;0m[1;33m| [0;0;37m
|
||||
[1;33m|[0;0;44m [0;0;0m [1;31m__________ ___[0;0;41m [0;37;7;1m [0;0;0m[0;31m__ _________[31;7;1m [0;0;0m[1;33m| [0;0;37m
|
||||
[1;33m|[0;0;42m [0;0;0m [0;32m/ [0;34m\ [0;0;47m [31;7;1m [0;0;0m [1;34m/[0;34m/ [1;32m/[0;32m/ [0;0;43m [0;0;0m[1;33m| [0;0;37m
|
||||
[1;33m|[0;0;42m [0;0;0m [0;32m/ [0;34m\ [1;34m/[0;34m/ [1;32m/[0;32m/ [0;0;43m [0;0;0m[1;33m| [0;0;37m
|
||||
[1;33m|[0;0;42m [0;0;0m [0;32m/__________________[1;32m/[0;32m/ [0;0;43m [0;0;0m[1;33m| [0;0;37m
|
||||
[1;33m|[32;7;1m [0;0;0m [0;34m\ [1;34m/[0;34m/ [33;7;1m [0;0;0m[1;33m| [0;0;37m
|
||||
[1;33m|[32;7;1m [0;0;0m [0;34m\[1;34m/[0;34m/ [33;7;1m [0;0;0m[1;33m| [0;0;37m
|
||||
[1;33m|[0;0;40m [0;0;0m[0;0;42m [0;0;0m [1;34m" [0;0;43m [0;0;0m[37;7;1m [0;0;0m[1;33m| [0;0;37m
|
||||
[1;33m|[32;7;1m [0;0;0m[30;7;1m [0;0;0m[0;0;40m [0;0;0m[30;7;1m [0;0;0m[0;0;47m [0;0;0m[37;7;1m [0;0;0m[0;0;47m [0;0;0m[33;7;1m [0;0;0m[1;33m| [0;0;37m
|
||||
[1;33m'---------------------------------' [0;0;37m
|
||||
EOF
|
@ -1,51 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=129265#p129265
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
# ****************************** Building blocks: █ ▓ ▒ ░ ▄ ▀ ▐ ▌ ● ═ ║ ╔ ╦ ╗ ╚ ╩ ╝ ■ ▬ ▲ ▼ ◄ ►
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${redf} ▄█████▄ ${greenf} ▄█████▄ ${yellowf} ▄█████▄ ${bluef} ▄█████▄ ${purplef} ▄█████▄ ${cyanf} ▄█████▄
|
||||
${redf} █▄▄ ▄▄█ ${greenf} █▄▄ ▄▄█ ${yellowf} █▄▄ ▄▄█ ${bluef} █▄▄ ▄▄█ ${purplef} █▄▄ ▄▄█ ${cyanf} █▄▄ ▄▄█
|
||||
${redf} ███ ███ ${greenf} ███ ███ ${yellowf} ███ ███ ${bluef} ███ ███ ${purplef} ███ ███ ${cyanf} ███ ███
|
||||
${redf} ▀██ ██▀ ${greenf} ▀██ ██▀ ${yellowf} ▀██ ██▀ ${bluef} ▀██ ██▀ ${purplef} ▀██ ██▀ ${cyanf} ▀██ ██▀
|
||||
${redf} ▀ ▀ ${greenf} ▀ ▀ ${yellowf} ▀ ▀ ${bluef} ▀ ▀ ${purplef} ▀ ▀ ${cyanf} ▀ ▀
|
||||
${boldon}
|
||||
${redf} ▄█████▄ ${greenf} ▄█████▄ ${yellowf} ▄█████▄ ${bluef} ▄█████▄ ${purplef} ▄█████▄ ${cyanf} ▄█████▄
|
||||
${redf} █▄▄ ▄▄█ ${greenf} █▄▄ ▄▄█ ${yellowf} █▄▄ ▄▄█ ${bluef} █▄▄ ▄▄█ ${purplef} █▄▄ ▄▄█ ${cyanf} █▄▄ ▄▄█
|
||||
${redf} ███ ███ ${greenf} ███ ███ ${yellowf} ███ ███ ${bluef} ███ ███ ${purplef} ███ ███ ${cyanf} ███ ███
|
||||
${redf} ▀██ ██▀ ${greenf} ▀██ ██▀ ${yellowf} ▀██ ██▀ ${bluef} ▀██ ██▀ ${purplef} ▀██ ██▀ ${cyanf} ▀██ ██▀
|
||||
${redf} ▀ ▀ ${greenf} ▀ ▀ ${yellowf} ▀ ▀ ${bluef} ▀ ▀ ${purplef} ▀ ▀ ${cyanf} ▀ ▀
|
||||
${reset}
|
||||
|
||||
EOF
|
@ -1,38 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Author: gutterslob
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=130590#p130590
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${reset}${blackf}| | | | |${reset}
|
||||
${redf}█ █${reset} ${blackf}|${reset} ${greenf}█ █${reset} ${blackf}|${reset} ${yellowf}█ █${reset} ${blackf}|${reset} ${bluef}█ █${reset} ${blackf}|${reset} ${purplef}█ █${reset} ${blackf}|${reset} ${cyanf}█ █${reset}
|
||||
${redf}███████${reset} ${blackf}|${reset} ${greenf}███████${reset} ${blackf}|${reset} ${yellowf}███████${reset} ${blackf}|${reset} ${bluef}███████${reset} ${blackf}|${reset} ${purplef}███████${reset} ${blackf}|${reset} ${cyanf}███████${reset}
|
||||
${redf}███${boldon}${redb}██${reset}${redf}█${boldon}${redb}██${reset}${redf}███${reset} ${blackf}|${reset} ${greenf}███${boldon}${greenb}██${reset}${greenf}█${boldon}${greenb}██${reset}${greenf}███${reset} ${blackf}|${reset} ${yellowf}███${boldon}${yellowb}██${reset}${yellowf}█${boldon}${yellowb}██${reset}${yellowf}███${reset} ${blackf}|${reset} ${bluef}███${boldon}${blueb}██${reset}${bluef}█${boldon}${blueb}██${reset}${bluef}███${reset} ${blackf}|${reset} ${purplef}███${boldon}${purpleb}██${reset}${purplef}█${boldon}${purpleb}██${reset}${purplef}███${reset} ${blackf}|${reset} ${cyanf}███${boldon}${cyanb}██${reset}${cyanf}█${boldon}${cyanb}██${reset}${cyanf}███${reset}
|
||||
${redf}████${boldon}${redb}█${reset}${redf}████${reset} ${blackf}|${reset} ${greenf}████${boldon}${greenb}█${reset}${greenf}████${reset} ${blackf}|${reset} ${yellowf}████${boldon}${yellowb}█${reset}${yellowf}████${reset} ${blackf}|${reset} ${bluef}████${boldon}${blueb}█${reset}${bluef}████${reset} ${blackf}|${reset} ${purplef}████${boldon}${purpleb}█${reset}${purplef}████${reset} ${blackf}|${reset} ${cyanf}████${boldon}${cyanb}█${reset}${cyanf}████${reset}
|
||||
${redf}█ █ ${boldon}█${reset} ${redf}█ █${reset} ${blackf}|${reset} ${greenf}█ █ ${boldon}█${reset} ${greenf}█ █${reset} ${blackf}|${reset} ${yellowf}█ █ ${boldon}█${reset} ${yellowf}█ █${reset} ${blackf}|${reset} ${bluef}█ █ ${boldon}█${reset} ${bluef}█ █${reset} ${blackf}|${reset} ${purplef}█ █ ${boldon}█${reset} ${purplef}█ █${reset} ${blackf}|${reset} ${cyanf}█ █ ${boldon}█${reset} ${cyanf}█ █${reset}
|
||||
${redf}█ █${reset} ${blackf}|${reset} ${greenf}█ █${reset} ${blackf}|${reset} ${yellowf}█ █${reset} ${blackf}|${reset} ${bluef}█ █${reset} ${blackf}|${reset} ${purplef}█ █${reset} ${blackf}|${reset} ${cyanf}█ █${reset}
|
||||
${blackf}| | | | |${reset}
|
||||
EOF
|
@ -1,46 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
|
||||
# Author: ivo
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=130522#p130522
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${boldon}${redf} █ █ ${reset} ${boldon}${greenf}█ █ ${reset} ${boldon}${yellowf}█ █ ${reset} ${boldon}${bluef}█ █ ${reset} ${boldon}${purplef}█ █ ${reset} ${boldon}${cyanf}█ █ ${reset}
|
||||
${boldon}${redf} ■ ■ ${reset} ${boldon}${greenf} ■ ■ ${reset} ${boldon}${yellowf} ■ ■ ${reset} ${boldon}${bluef} ■ ■ ${reset} ${boldon}${purplef} ■ ■ ${reset} ${boldon}${cyanf} ■ ■ ${reset}
|
||||
${boldon}${redf} =■= ${reset} ${boldon}${greenf} =■= ${reset} ${boldon}${yellowf} =■= ${reset} ${boldon}${bluef} =■= ${reset} ${boldon}${purplef} =■= ${reset} ${boldon}${cyanf} =■= ${reset}
|
||||
|
||||
${redf} █=@=█ ${reset} ${greenf}█=@=█ ${reset} ${yellowf}█=@=█ ${reset} ${bluef}█=@=█ ${reset} ${purplef}█=@=█ ${reset} ${cyanf}█=@=█ ${reset}
|
||||
${redf} ■ ■ ${reset} ${greenf} ■ ■ ${reset} ${yellowf} ■ ■ ${reset} ${bluef} ■ ■ ${reset} ${purplef} ■ ■ ${reset} ${cyanf} ■ ■ ${reset}
|
||||
${redf} =■= ${reset} ${greenf} =■= ${reset} ${yellowf} =■= ${reset} ${bluef} =■= ${reset} ${purplef} =■= ${reset} ${cyanf} =■= ${reset}
|
||||
|
||||
EOF
|
@ -1,45 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Author: Ivo
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=150114#p150114
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m" whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${boldon}${redf} ██ ██ ${reset} ${boldon}${greenf} ██ ██ ${reset} ${boldon}${yellowf} ██ ██ ${reset} ${boldon}${bluef} ██ ██ ${reset} ${boldon}${purplef} ██ ██ ${reset} ${boldon}${cyanf} ██ ██ ${reset}
|
||||
${boldon}${redf} █${whitef} ■${reset}${boldon}${redf}█ █${whitef}■${reset}${boldon}${redf} █${reset} ${boldon}${greenf} █${whitef} ■${reset}${boldon}${greenf}█ █${whitef}■${reset}${boldon}${greenf} █${reset} ${boldon}${yellowf} █${whitef} ■${reset}${boldon}${yellowf}█ █${whitef}■${reset}${boldon}${yellowf} █${reset} ${boldon}${bluef} █${whitef} ■${reset}${boldon}${bluef}█ █${whitef}■${reset}${boldon}${bluef} █${reset} ${boldon}${purplef} █${whitef} ■${reset}${boldon}${purplef}█ █${whitef}■${reset}${boldon}${purplef} █${reset} ${boldon}${cyanf} █${whitef} ■${reset}${boldon}${cyanf}█ █${whitef}■${reset}${boldon}${cyanf} █${reset}
|
||||
${redf} █ █ █ █ ${reset} ${greenf} █ █ █ █ ${reset} ${yellowf} █ █ █ █ ${reset} ${bluef} █ █ █ █ ${reset} ${purplef} █ █ █ █ ${reset} ${cyanf} █ █ █ █ ${reset}
|
||||
${redf} █ █ █ ${reset} ${greenf} █ █ █ ${reset} ${yellowf} █ █ █ ${reset} ${bluef} █ █ █ ${reset} ${purplef} █ █ █ ${reset} ${cyanf} █ █ █ ${reset}
|
||||
${redf} =■= ${reset} ${greenf} =■= ${reset} ${yellowf} =■= ${reset} ${bluef} =■= ${reset} ${purplef} =■= ${reset} ${cyanf} =■= ${reset}
|
||||
|
||||
|
||||
|
||||
EOF
|
@ -1,36 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ANSI color scheme script featuring PACMAN
|
||||
# Author: pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=144481#p144481
|
||||
# Initializing procedure by lolilolicon
|
||||
|
||||
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
|
||||
$f3 ▄███████▄ $f1 ▄██████▄ $f2 ▄██████▄ $f4 ▄██████▄ $f5 ▄██████▄ $f6 ▄██████▄
|
||||
$f3▄█████████▀▀ $f1▄$f7█▀█$f1██$f7█▀█$f1██▄ $f2▄█$f7███$f2██$f7███$f2█▄ $f4▄█$f7███$f4██$f7███$f4█▄ $f5▄█$f7███$f5██$f7███$f5█▄ $f6▄██$f7█▀█$f6██$f7█▀█$f6▄
|
||||
$f3███████▀ $f7▄▄ ▄▄ ▄▄ $f1█$f7▄▄█$f1██$f7▄▄█$f1███ $f2██$f7█ █$f2██$f7█ █$f2██ $f4██$f7█ █$f4██$f7█ █$f4██ $f5██$f7█ █$f5██$f7█ █$f5██ $f6███$f7█▄▄$f6██$f7█▄▄$f6█
|
||||
$f3███████▄ $f7▀▀ ▀▀ ▀▀ $f1████████████ $f2████████████ $f4████████████ $f5████████████ $f6████████████
|
||||
$f3▀█████████▄▄ $f1██▀██▀▀██▀██ $f2██▀██▀▀██▀██ $f4██▀██▀▀██▀██ $f5██▀██▀▀██▀██ $f6██▀██▀▀██▀██
|
||||
$f3 ▀███████▀ $f1▀ ▀ ▀ ▀ $f2▀ ▀ ▀ ▀ $f4▀ ▀ ▀ ▀ $f5▀ ▀ ▀ ▀ $f6▀ ▀ ▀ ▀
|
||||
$bld
|
||||
$f3 ▄███████▄ $f1 ▄██████▄ $f2 ▄██████▄ $f4 ▄██████▄ $f5 ▄██████▄ $f6 ▄██████▄
|
||||
$f3▄█████████▀▀ $f1▄$f7█▀█$f1██$f7█▀█$f1██▄ $f2▄█$f7█ █$f2██$f7█ █$f2█▄ $f4▄█$f7█ █$f4██$f7█ █$f4█▄ $f5▄█$f7█ █$f5██$f7█ █$f5█▄ $f6▄██$f7█▀█$f6██$f7█▀█$f6▄
|
||||
$f3███████▀ $f7▄▄ ▄▄ ▄▄ $f1█$f7▄▄█$f1██$f7▄▄█$f1███ $f2██$f7███$f2██$f7███$f2██ $f4██$f7███$f4██$f7███$f4██ $f5██$f7███$f5██$f7███$f5██ $f6███$f7█▄▄$f6██$f7█▄▄$f6█
|
||||
$f3███████▄ $f7▀▀ ▀▀ ▀▀ $f1████████████ $f2████████████ $f4████████████ $f5████████████ $f6████████████
|
||||
$f3▀█████████▄▄ $f1██▀██▀▀██▀██ $f2██▀██▀▀██▀██ $f4██▀██▀▀██▀██ $f5██▀██▀▀██▀██ $f6██▀██▀▀██▀██
|
||||
$f3 ▀███████▀ $f1▀ ▀ ▀ ▀ $f2▀ ▀ ▀ ▀ $f4▀ ▀ ▀ ▀ $f5▀ ▀ ▀ ▀ $f6▀ ▀ ▀ ▀
|
||||
$rst
|
||||
|
||||
EOF
|
@ -1,23 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Author: GekkoP
|
||||
# Source: http://linuxbbq.org/bbs/viewtopic.php?f=4&t=1656#p33189
|
||||
|
||||
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
|
||||
d=$'\e[1m'
|
||||
t=$'\e[0m'
|
||||
v=$'\e[7m'
|
||||
|
||||
|
||||
cat << EOF
|
||||
|
||||
$f1███$d▄$t $f2███$d▄$t $f3███$d▄$t $f4███$d▄$t $f5███$d▄$t $f6███$d▄$t $f7███$d▄$t
|
||||
$f1███$d█$t $f2███$d█$t $f3███$d█$t $f4███$d█$t $f5███$d█$t $f6███$d█$t $f7███$d█$t
|
||||
$f1███$d█$t $f2███$d█$t $f3███$d█$t $f4███$d█$t $f5███$d█$t $f6███$d█$t $f7███$d█$t
|
||||
$d$f1 ▀▀▀ $f2▀▀▀ $f3▀▀▀ $f4▀▀▀ $f5▀▀▀ $f6▀▀▀ $f7▀▀▀
|
||||
EOF
|
@ -1,97 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Tom Hale, 2016. MIT Licence.
|
||||
# Print out 256 colours, with each number printed in its corresponding colour
|
||||
# See http://askubuntu.com/questions/821157/print-a-256-color-test-pattern-in-the-terminal/821163#821163
|
||||
|
||||
set -eu # Fail on errors or undeclared variables
|
||||
|
||||
printable_colours=256
|
||||
|
||||
# Return a colour that contrasts with the given colour
|
||||
# Bash only does integer division, so keep it integral
|
||||
function contrast_colour {
|
||||
local r g b luminance
|
||||
colour="$1"
|
||||
|
||||
if (( colour < 16 )); then # Initial 16 ANSI colours
|
||||
(( colour == 0 )) && printf "15" || printf "0"
|
||||
return
|
||||
fi
|
||||
|
||||
# Greyscale # rgb_R = rgb_G = rgb_B = (number - 232) * 10 + 8
|
||||
if (( colour > 231 )); then # Greyscale ramp
|
||||
(( colour < 244 )) && printf "15" || printf "0"
|
||||
return
|
||||
fi
|
||||
|
||||
# All other colours:
|
||||
# 6x6x6 colour cube = 16 + 36*R + 6*G + B # Where RGB are [0..5]
|
||||
# See http://stackoverflow.com/a/27165165/5353461
|
||||
|
||||
# r=$(( (colour-16) / 36 ))
|
||||
g=$(( ((colour-16) % 36) / 6 ))
|
||||
# b=$(( (colour-16) % 6 ))
|
||||
|
||||
# If luminance is bright, print number in black, white otherwise.
|
||||
# Green contributes 587/1000 to human perceived luminance - ITU R-REC-BT.601
|
||||
(( g > 2)) && printf "0" || printf "15"
|
||||
return
|
||||
|
||||
# Uncomment the below for more precise luminance calculations
|
||||
|
||||
# # Calculate percieved brightness
|
||||
# # See https://www.w3.org/TR/AERT#color-contrast
|
||||
# # and http://www.itu.int/rec/R-REC-BT.601
|
||||
# # Luminance is in range 0..5000 as each value is 0..5
|
||||
# luminance=$(( (r * 299) + (g * 587) + (b * 114) ))
|
||||
# (( $luminance > 2500 )) && printf "0" || printf "15"
|
||||
}
|
||||
|
||||
# Print a coloured block with the number of that colour
|
||||
function print_colour {
|
||||
local colour="$1" contrast
|
||||
contrast=$(contrast_colour "$1")
|
||||
printf "\e[48;5;%sm" "$colour" # Start block of colour
|
||||
printf "\e[38;5;%sm%3d" "$contrast" "$colour" # In contrast, print number
|
||||
printf "\e[0m " # Reset colour
|
||||
}
|
||||
|
||||
# Starting at $1, print a run of $2 colours
|
||||
function print_run {
|
||||
local i
|
||||
for (( i = "$1"; i < "$1" + "$2" && i < printable_colours; i++ )) do
|
||||
print_colour "$i"
|
||||
done
|
||||
printf " "
|
||||
}
|
||||
|
||||
# Print blocks of colours
|
||||
function print_blocks {
|
||||
local start="$1" i
|
||||
local end="$2" # inclusive
|
||||
local block_cols="$3"
|
||||
local block_rows="$4"
|
||||
local blocks_per_line="$5"
|
||||
local block_length=$((block_cols * block_rows))
|
||||
|
||||
# Print sets of blocks
|
||||
for (( i = start; i <= end; i += (blocks_per_line-1) * block_length )) do
|
||||
printf "\n" # Space before each set of blocks
|
||||
# For each block row
|
||||
for (( row = 0; row < block_rows; row++ )) do
|
||||
# Print block columns for all blocks on the line
|
||||
for (( block = 0; block < blocks_per_line; block++ )) do
|
||||
print_run $(( i + (block * block_length) )) "$block_cols"
|
||||
done
|
||||
(( i += block_cols )) # Prepare to print the next row
|
||||
printf "\n"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
print_run 0 16 # The first 16 colours are spread over the whole spectrum
|
||||
printf "\n"
|
||||
print_blocks 16 231 6 6 3 # 6x6x6 colour cube between 16 and 231 inclusive
|
||||
print_blocks 232 255 12 2 1 # Not 50, but 24 Shades of Grey
|
||||
|
@ -1,74 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# ┳━┓┳━┓0┏┓┓┳━┓┏━┓┓ ┳
|
||||
# ┃┳┛┃━┫┃┃┃┃┃━┃┃ ┃┃┃┃
|
||||
# ┃┗┛┛ ┃┃┃┗┛┻━┛┛━┛┗┻┛
|
||||
# ┳━┓┳ ┓┳┏ ┳━┓
|
||||
# ┃━┛┃ ┃┣┻┓┣━
|
||||
# ┇ ┗━┛┃ ┛┻━┛
|
||||
# ┓━┓┳┏ ┳ ┓┳ ┳
|
||||
# ┗━┓┣┻┓┃ ┃┃ ┃
|
||||
# ━━┛┇ ┛┗━┛┗━┛┗━┛
|
||||
#
|
||||
# the worst color script
|
||||
# by xero <http://0w.nz>
|
||||
|
||||
cat << 'EOF'
|
||||
[1;37m .................
|
||||
[1;37m .syhhso++++++++/++osyyhys+.
|
||||
[1;37m -oddyo+o+++++++++++++++o+oo+osdms:
|
||||
[1;37m :dmyo++oosssssssssssssssooooooo+/+ymm+`
|
||||
[1;37m hmyo++ossyyhhddddddddddddhyyyssss+//+ymd-
|
||||
[1;37m -mho+oosyhhhddmmmmmmmmmmmmmmddhhyyyso+//+hN+
|
||||
[1;37m my+++syhhhhdmmNNNNNNNNNNNNmmmmmdhhyyyyo//+sd:
|
||||
[1;37m hs//+oyhhhhdmNNNNNNNNNNNNNNNNNNmmdhyhhhyo//++y
|
||||
[1;37m s+++shddhhdmmNNNNNNNNNNNNNNNNNNNNmdhhhdhyo/++/
|
||||
[1;37m 'hs+shmmmddmNNNNNNNNNNNNNNNNNNNNNmddddddhs+oh/
|
||||
[1;37m shsshdmmmmmNNMMMMMMMMMMMNNNNNNNNmmmmmmdhssdh-
|
||||
[1;37m +ssohdmmmmNNNNNMMMMMMMMNNNNNNmmmmmNNmdhhhs:`
|
||||
[1;37m -+oo++////++sydmNNNNNNNNNNNNNNNNNNNdyyys/--://+//:
|
||||
[1;37m d/+hmNNNmmdddhhhdmNNNNNNNNNNNNNNNmdhyyyhhhddmmNmdyd-
|
||||
[1;37m ++--+ymNMMNNNNNNmmmmNNNNNNNNNNNmdhddmNNMMMMMMNmhyss
|
||||
[1;37m /d+` -+ydmNMMMMMMNNmNMMMMMMMmmmmNNMMMMMNNmh- :sdo
|
||||
[1;37m sNo ` /ohdmNNMMMMNNMMMMMNNNMMMMMNmdyo/ ` hNh
|
||||
[1;37m M+' ``-/oyhmNNMNhNMNhNMMMMNmho/ ` 'MN/
|
||||
[1;37m d+' `-+osydh0w.nzmNNmho: 'mN:
|
||||
[1;37m +o/ ` :oo+:s :+o/-` -dds
|
||||
[1;37m :hdo [0;31mx[1;37m `-/ooss:':+ooo: ` [0;31m0[1;37m :sdm+
|
||||
[1;37m +dNNNh+ :ydmNNm' `sddmyo +hmNmds
|
||||
[1;37m dhNMMNNNNmddhsyhdmmNNNM: NNmNmhyo+oyyyhmNMMNmysd
|
||||
[1;37m ydNNNNNh+/++ohmMMMMNMNh oNNNNNNNmho++++yddhyssy
|
||||
[1;37m `:sNMMMMN' `mNMNNNd/`
|
||||
[1;31mXXXX[0;31mXXXX[1;33mX[1;37m y/hMMNm/ .dXb. -hdmdy: ` [0;34mXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;37m `o+hNNds. -ymNNy- .yhys+/`` [0;34mXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;37m +-+//o/+odMNMMMNdmh++////-/s [0;34mXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXX[1;37m mhNd -+d/+myo++ysy/hs -mNsdh/ [0;34mXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;37m mhMN+ dMm-/-smy-::dMN/sMMmdo [0;34mXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXX[1;37m NMy+NMMh oMMMs yMMMyNMMs+ [0;34mXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXX[1;37m dy-hMMm+dMMMdoNMMh ydo [1;34mX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mX [1;37m smm 'NMMy dms sm [1;34mXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXX [1;34mXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
[1;31mXXXX[0;31mXXXX[1;33mXXXX[0;33mXXXX[1;35mXXXX[0;35mXXXX[1;32mXXXX[0;32mXXXX[1;34mXXXX[0;34mXXXX[1;37mXXXX[0;37mXXXX
|
||||
EOF
|
||||
|
@ -1,45 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=127064#p127064
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
clear
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${redf}╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗ ${greenf}╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗ ${yellowf}╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗
|
||||
${boldon}${redf}╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝ ${greenf}╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝ ${yellowf}╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝${reset}
|
||||
■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■
|
||||
${bluef}╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗ ${purplef}╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗ ${cyanf}╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗
|
||||
${boldon}${bluef}╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝ ${purplef}╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝ ${cyanf}╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝${reset}
|
||||
|
||||
|
||||
EOF
|
@ -1,35 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# ANSI color scheme script by pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=143700#p143700
|
||||
# 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
|
||||
|
||||
$f3 ▄ $f1 ▄▄ $f2 ▄▄ $f4 ▄▄ $f5 ▄▄ $f6 ▄▄
|
||||
$f3 ███▄▄ $f1 ██▬██▬██ $f2 ██▬██▬██ $f4 ██▬██▬██ $f5 ██▬██▬██ $f6 ██▬██▬██
|
||||
$f3 █████▀▀$f1 ████ $f2 ████ $f4 ████ $f5 ████ $f6 ████
|
||||
$f3 █▀▀ $f1 ▄██ ██▄ $f2 ▄██ ██▄ $f4 ▄██ ██▄ $f5 ▄██ ██▄ $f6 ▄██ ██▄
|
||||
$f3 █ $f1 ▄▄▄▀█ █▀▄▄▄ $f2 ▄▄▄▀█ █▀▄▄▄ $f4 ▄▄▄▀█ █▀▄▄▄ $f5 ▄▄▄▀█ █▀▄▄▄ $f6 ▄▄▄▀█ █▀▄▄▄
|
||||
$f3▄█▄ $f1 ███▀████▀███ $f2 ███▀████▀███ $f4 ███▀████▀███ $f5 ███▀████▀███ $f6 ███▀████▀███
|
||||
$f1 ▀ ▀ $f2 ▀ ▀ $f4 ▀ ▀ $f5 ▀ ▀ $f6 ▀ ▀
|
||||
$bld
|
||||
$f3 ▄ $f1 ▄▄ $f2 ▄▄ $f4 ▄▄ $f5 ▄▄ $f6 ▄▄
|
||||
$f3 ███▄▄ $f1 ██▬██▬██ $f2 ██▬██▬██ $f4 ██▬██▬██ $f5 ██▬██▬██ $f6 ██▬██▬██
|
||||
$f3 █████▀▀$f1 ████ $f2 ████ $f4 ████ $f5 ████ $f6 ████
|
||||
$f3 █▀▀ $f1 ▄██ ██▄ $f2 ▄██ ██▄ $f4 ▄██ ██▄ $f5 ▄██ ██▄ $f6 ▄██ ██▄
|
||||
$f3 █ $f1 ▄▄▄▀█ █▀▄▄▄ $f2 ▄▄▄▀█ █▀▄▄▄ $f4 ▄▄▄▀█ █▀▄▄▄ $f5 ▄▄▄▀█ █▀▄▄▄ $f6 ▄▄▄▀█ █▀▄▄▄
|
||||
$f3▄█▄ $f1 ███▀████▀███ $f2 ███▀████▀███ $f4 ███▀████▀███ $f5 ███▀████▀███ $f6 ███▀████▀███
|
||||
$f1 ▀ ▀ $f2 ▀ ▀ $f4 ▀ ▀ $f5 ▀ ▀ $f6 ▀ ▀
|
||||
$rst
|
||||
EOF
|
@ -1,45 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
Bf="${esc}[30m"; rf="${esc}[31m"; gf="${esc}[32m"
|
||||
yf="${esc}[33m" bf="${esc}[34m"; pf="${esc}[35m"
|
||||
cf="${esc}[36m"; wf="${esc}[37m"
|
||||
|
||||
Bb="${esc}[40m"; rb="${esc}[41m"; gb="${esc}[42m"
|
||||
yb="${esc}[43m" bb="${esc}[44m"; pb="${esc}[45m"
|
||||
cb="${esc}[46m"; wb="${esc}[47m"
|
||||
|
||||
ON="${esc}[1m"; OFF="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${Bf}██ ${Bf}████ ${Bf}████ ${Bf}████ ${Bf}████ ${Bf}████
|
||||
${Bf}██${yf}██${Bf}██ ${Bf}██${gf}${ON}██${OFF}██${Bf}██ ${Bf}██${bf}${ON}██${OFF}██${Bf}██ ${Bf}██${rf}${ON}██${OFF}██${Bf}██ ${Bf}██${pf}${ON}██${OFF}██${Bf}██ ${Bf}██${cf}${ON}██${OFF}██${Bf}██
|
||||
${Bf}██${yf}██████${Bf}██ ${Bf}██${gf}${ON}████${OFF}████${Bf}██ ${Bf}██${bf}${ON}████${OFF}████${Bf}██ ${Bf}██${rf}${ON}████${OFF}████${Bf}██ ${Bf}██${pf}${ON}████${OFF}████${Bf}██ ${Bf}██${cf}${ON}████${OFF}████${Bf}██
|
||||
${Bf}██${yf}${ON}██${OFF}████${Bf}██ ${Bf}██${gf}${ON}██████${OFF}██████${Bf}██ ${Bf}██${bf}${ON}██████${OFF}██████${Bf}██ ${Bf}██${rf}${ON}██████${OFF}██████${Bf}██ ${Bf}██${pf}${ON}██████${OFF}██████${Bf}██ ${Bf}██${cf}${ON}██████${OFF}██████${Bf}██
|
||||
${Bf}██${yf}██${ON}████${OFF}████${Bf}██ ${Bf}██${gf}${ON}██${OFF}██${ON}██${OFF}██${Bf}██${gf}██${Bf}██${gf}██${Bf}██ ${Bf}██${bf}${ON}██${OFF}██${ON}██${OFF}██${Bf}██${bf}██${Bf}██${bf}██${Bf}██ ${Bf}██${rf}${ON}██${OFF}██${ON}██${OFF}██${Bf}██${rf}██${Bf}██${rf}██${Bf}██ ${Bf}██${pf}${ON}██${OFF}██${ON}██${OFF}██${Bf}██${pf}██${Bf}██${pf}██${Bf}██ ${Bf}██${cf}${ON}██${OFF}██${ON}██${OFF}██${Bf}██${cf}██${Bf}██${cf}██${Bf}██
|
||||
${Bf}██${yf}████${ON}██${OFF}████${Bf}██ ${Bf}██${gf}${ON}████${OFF}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}████${OFF}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}████${OFF}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}████${OFF}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}████${OFF}██████${Bf}██${cf}████${Bf}██
|
||||
${Bf}██${yf}██████${ON}████${OFF}████${Bf}██ ${Bf}██${gf}${ON}████${OFF}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}████${OFF}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}████${OFF}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}████${OFF}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}████${OFF}██████${Bf}██${cf}████${Bf}██
|
||||
${Bf}██${yf}████████${ON}██${OFF}████${Bf}██ ${Bf}██${gf}${ON}████${OFF}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}████${OFF}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}████${OFF}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}████${OFF}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}████${OFF}██████${Bf}██${cf}████${Bf}██
|
||||
${Bf}██████████████████████ ${Bf}██${gf}${ON}████${OFF}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}████${OFF}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}████${OFF}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}████${OFF}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}████${OFF}██████${Bf}██${cf}████${Bf}██
|
||||
${Bf}██${yf}██${Bf}██ ██${yf}██${Bf}██ ${Bf}██${gf}${ON}████${OFF}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}████${OFF}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}████${OFF}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}████${OFF}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}████${OFF}██████${Bf}██${cf}████${Bf}██
|
||||
${Bf}██${yf}██████${Bf}██ ██${yf}██████${Bf}██ ${Bf}██${gf}${ON}████${OFF}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}████${OFF}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}████${OFF}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}████${OFF}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}████${OFF}██████${Bf}██${cf}████${Bf}██
|
||||
${Bf}██${yf}██████${Bf}██ ██${yf}${ON}██${OFF}████${Bf}██ ${Bf}██${gf}${ON}██${OFF}██${ON}██${OFF}████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}██${OFF}██${ON}██${OFF}████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}██${OFF}██${ON}██${OFF}████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}██${OFF}██${ON}██${OFF}████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}██${OFF}██${ON}██${OFF}████${Bf}██${cf}████${Bf}██
|
||||
${Bf}██${yf}██████████${Bf}██ ██${yf}██${ON}████${OFF}████${Bf}██ ${Bf}██${gf}██████${ON}██${OFF}${Bf}██${gf}██${Bf}██${gf}██${Bf}██ ${Bf}██${bf}██████${ON}██${OFF}${Bf}██${bf}██${Bf}██${bf}██${Bf}██ ${Bf}██${rf}██████${ON}██${OFF}${Bf}██${rf}██${Bf}██${rf}██${Bf}██ ${Bf}██${pf}██████${ON}██${OFF}${Bf}██${pf}██${Bf}██${pf}██${Bf}██ ${Bf}██${cf}██████${ON}██${OFF}${Bf}██${cf}██${Bf}██${cf}██${Bf}██
|
||||
${Bf}██${yf}${ON}██${OFF}████████${Bf}██ ██${yf}████${ON}██${OFF}████${Bf}██ ${Bf}██${gf}████████████${Bf}██ ${Bf}██${bf}████████████${Bf}██ ${Bf}██${rf}████████████${Bf}██ ${Bf}██${pf}████████████${Bf}██ ${Bf}██${cf}████████████${Bf}██
|
||||
${Bf}██${yf}██${ON}████${OFF}████████${Bf}██ ██${yf}██████${ON}████${OFF}████${Bf}██ ${Bf}██${gf}████████${Bf}██ ${Bf}██${bf}████████${Bf}██ ${Bf}██${rf}████████${Bf}██ ${Bf}██${pf}████████${Bf}██ ${Bf}██${cf}████████${Bf}██
|
||||
${Bf}██${yf}████${ON}██${OFF}████████${Bf}██ ██${yf}████████${ON}██${OFF}████${Bf}██ ${Bf}██${gf}████${Bf}██ ${Bf}██${bf}████${Bf}██ ${Bf}██${rf}████${Bf}██ ${Bf}██${pf}████${Bf}██ ${Bf}██${cf}████${Bf}██
|
||||
${Bf}██████████████████████████████████████ ${Bf}████ ${Bf}████ ${Bf}████ ${Bf}████ ${Bf}████${reset}
|
||||
|
||||
EOF
|
@ -1,38 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ANSI color scheme script featuring Space Invaders
|
||||
|
||||
# Original: http://crunchbanglinux.org/forums/post/126921/#p126921
|
||||
# Modified by lolilolicon
|
||||
|
||||
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'
|
||||
|
||||
cat << EOF
|
||||
|
||||
$f1 ▀▄ ▄▀ $f2 ▄▄▄████▄▄▄ $f3 ▄██▄ $f4 ▀▄ ▄▀ $f5 ▄▄▄████▄▄▄ $f6 ▄██▄ $rst
|
||||
$f1 ▄█▀███▀█▄ $f2███▀▀██▀▀███ $f3▄█▀██▀█▄ $f4 ▄█▀███▀█▄ $f5███▀▀██▀▀███ $f6▄█▀██▀█▄$rst
|
||||
$f1█▀███████▀█ $f2▀▀███▀▀███▀▀ $f3▀█▀██▀█▀ $f4█▀███████▀█ $f5▀▀███▀▀███▀▀ $f6▀█▀██▀█▀$rst
|
||||
$f1▀ ▀▄▄ ▄▄▀ ▀ $f2 ▀█▄ ▀▀ ▄█▀ $f3▀▄ ▄▀ $f4▀ ▀▄▄ ▄▄▀ ▀ $f5 ▀█▄ ▀▀ ▄█▀ $f6▀▄ ▄▀$rst
|
||||
|
||||
$bld$f1▄ ▀▄ ▄▀ ▄ $f2 ▄▄▄████▄▄▄ $f3 ▄██▄ $f4▄ ▀▄ ▄▀ ▄ $f5 ▄▄▄████▄▄▄ $f6 ▄██▄ $rst
|
||||
$bld$f1█▄█▀███▀█▄█ $f2███▀▀██▀▀███ $f3▄█▀██▀█▄ $f4█▄█▀███▀█▄█ $f5███▀▀██▀▀███ $f6▄█▀██▀█▄$rst
|
||||
$bld$f1▀█████████▀ $f2▀▀▀██▀▀██▀▀▀ $f3▀▀█▀▀█▀▀ $f4▀█████████▀ $f5▀▀▀██▀▀██▀▀▀ $f6▀▀█▀▀█▀▀$rst
|
||||
$bld$f1 ▄▀ ▀▄ $f2▄▄▀▀ ▀▀ ▀▀▄▄ $f3▄▀▄▀▀▄▀▄ $f4 ▄▀ ▀▄ $f5▄▄▀▀ ▀▀ ▀▀▄▄ $f6▄▀▄▀▀▄▀▄$rst
|
||||
|
||||
|
||||
$f7▌$rst
|
||||
|
||||
$f7▌$rst
|
||||
|
||||
$f7 ▄█▄ $rst
|
||||
$f7▄█████████▄$rst
|
||||
$f7▀▀▀▀▀▀▀▀▀▀▀$rst
|
||||
|
||||
EOF
|
@ -1,21 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Author: crshd
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=128584#p128584
|
||||
|
||||
echo
|
||||
|
||||
for f in {0..6}; do
|
||||
echo -en "\033[$((f+41))m\033[$((f+30))m██▓▒░"
|
||||
done
|
||||
echo -en "\033[37m██\n"
|
||||
|
||||
echo
|
||||
|
||||
for f in {0..6}; do
|
||||
echo -en "\033[$((f+41))m\033[1;$((f+30))m██▓▒░"
|
||||
done
|
||||
echo -en "\033[1;37m██"
|
||||
|
||||
echo -e "\033[0m"
|
||||
echo
|
@ -1,40 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: muzieca
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=127509#p127509
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${redf}▀ █${reset} ${boldon}${redf}█ ▀${reset} ${greenf}▀ █${reset} ${boldon}${greenf}█ ▀${reset} ${yellowf}▀ █${reset} ${boldon}${yellowf}█ ▀${reset} ${bluef}▀ █${reset} ${boldon}${bluef}█ ▀${reset} ${purplef}▀ █${reset} ${boldon}${purplef}█ ▀${reset} ${cyanf}▀ █${reset} ${boldon}${cyanf}█ ▀${reset}
|
||||
${redf}██${reset} ${boldon}${redf} ██${reset} ${greenf}██${reset} ${boldon}${greenf}██${reset} ${yellowf}██${reset} ${boldon}${yellowf}██${reset} ${bluef}██${reset} ${boldon}${bluef}██${reset} ${purplef}██${reset} ${boldon}${purplef}██${reset} ${cyanf}██${reset} ${boldon}${cyanf}██${reset}
|
||||
${redf}▄ █${reset}${boldon}${redf} █ ▄ ${reset} ${greenf}▄ █ ${reset}${boldon}${greenf}█ ▄${reset} ${yellowf}▄ █ ${reset}${boldon}${yellowf}█ ▄${reset} ${bluef}▄ █ ${reset}${boldon}${bluef}█ ▄${reset} ${purplef}▄ █ ${reset}${boldon}${purplef}█ ▄${reset} ${cyanf}▄ █ ${reset}${boldon}${cyanf}█ ▄${reset}
|
||||
|
||||
EOF
|
@ -1,50 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
|
||||
# Nintendo's Battle Tank
|
||||
# Author: muzieca
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=127023#p127023
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${boldon}${redf} █ ${reset} ${boldon}${greenf} █ ${reset} ${boldon}${yellowf} █ ${reset} ${boldon}${bluef} █ ${reset} ${boldon}${purplef} █ ${reset} ${boldon}${cyanf} █ ${reset}
|
||||
${boldon}${redf}▄▄ █ ▄▄${reset} ${boldon}${greenf}▄▄ █ ▄▄${reset} ${boldon}${yellowf}▄▄ █ ▄▄${reset} ${boldon}${bluef}▄▄ █ ▄▄${reset} ${boldon}${purplef}▄▄ █ ▄▄${reset} ${boldon}${cyanf}▄▄ █ ▄▄${reset}
|
||||
${boldon}${redf}███▀▀▀███${reset} ${boldon}${greenf}███▀▀▀███${reset} ${boldon}${yellowf}███▀▀▀███${reset} ${boldon}${bluef}███▀▀▀███${reset} ${boldon}${purplef}███▀▀▀███${reset} ${boldon}${cyanf}███▀▀▀███${reset}
|
||||
${boldon}${redf}███ █ ███${reset} ${boldon}${greenf}███ █ ███${reset} ${boldon}${yellowf}███ █ ███${reset} ${boldon}${bluef}███ █ ███${reset} ${boldon}${purplef}███ █ ███${reset} ${boldon}${cyanf}███ █ ███${reset}
|
||||
${boldon}${redf}██ ▀▀▀ ██${reset} ${boldon}${greenf}██ ▀▀▀ ██${reset} ${boldon}${yellowf}██ ▀▀▀ ██${reset} ${boldon}${bluef}██ ▀▀▀ ██${reset} ${boldon}${purplef}██ ▀▀▀ ██${reset} ${boldon}${cyanf}██ ▀▀▀ ██${reset}
|
||||
|
||||
${redf} █ ${reset} ${greenf} █ ${reset} ${yellowf} █ ${reset} ${bluef} █ ${reset} ${purplef} █ ${reset} ${cyanf} █ ${reset}
|
||||
${redf}▄▄ █ ▄▄${reset} ${greenf}▄▄ █ ▄▄${reset} ${yellowf}▄▄ █ ▄▄${reset} ${bluef}▄▄ █ ▄▄${reset} ${purplef}▄▄ █ ▄▄${reset} ${cyanf}▄▄ █ ▄▄${reset}
|
||||
${redf}███▀▀▀███${reset} ${greenf}███▀▀▀███${reset} ${yellowf}███▀▀▀███${reset} ${bluef}███▀▀▀███${reset} ${purplef}███▀▀▀███${reset} ${cyanf}███▀▀▀███${reset}
|
||||
${redf}███ █ ███${reset} ${greenf}███ █ ███${reset} ${yellowf}███ █ ███${reset} ${bluef}███ █ ███${reset} ${purplef}███ █ ███${reset} ${cyanf}███ █ ███${reset}
|
||||
${redf}██ ▀▀▀ ██${reset} ${greenf}██ ▀▀▀ ██${reset} ${yellowf}██ ▀▀▀ ██${reset} ${bluef}██ ▀▀▀ ██${reset} ${purplef}██ ▀▀▀ ██${reset} ${cyanf}██ ▀▀▀ ██${reset}
|
||||
EOF
|
@ -1,32 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ANSI color scheme script by pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=151601#p151601
|
||||
# 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
|
||||
|
||||
$f3 ██████████████████████████████████████
|
||||
$f3 ██████████████████████████████████████████
|
||||
$f3 ██████ ████████████████████████████ ██████
|
||||
$f3 █████ ████████████ ████ ████████████ █████
|
||||
$f3 ███ ████████████ ████████████ ███
|
||||
$f3 ███ ███
|
||||
$f3 ███ ███
|
||||
$f3 ███ █████████ ████ ████ █████████ ███
|
||||
$f3 █████ ███████████████ ███████████████ █████
|
||||
$f3 ██████ ████████████████████████████ ██████
|
||||
$f3 ██████████████████████████████████████████
|
||||
$f3 ██████████████████████████████████████
|
||||
$rst
|
||||
EOF
|
@ -1,49 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=151601#p151601
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
|
||||
clear
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${redf} ▄█▀ █ █ ▀█▄ ${greenf} ▄█▀ █ █ ▀█▄ ${yellowf} ▄█▀ █ █ ▀█▄ ${bluef} ▄█▀ █ █ ▀█▄ ${purplef} ▄█▀ █ █ ▀█▄ ${cyanf} ▄█▀ █ █ ▀█▄
|
||||
${redf}███ ███ ███ ${greenf}███ ███ ███ ${yellowf}███ ███ ███ ${bluef}███ ███ ███ ${purplef}███ ███ ███ ${cyanf}███ ███ ███
|
||||
${redf}█████████████ ${greenf}█████████████ ${yellowf}█████████████ ${bluef}█████████████ ${purplef}█████████████ ${cyanf}█████████████
|
||||
${redf} ▀██▄ ▄██▀ ${greenf} ▀██▄ ▄██▀ ${yellowf} ▀██▄ ▄██▀ ${bluef} ▀██▄ ▄██▀ ${purplef} ▀██▄ ▄██▀ ${cyanf} ▀██▄ ▄██▀
|
||||
|
||||
${boldon}
|
||||
${redf} ▄█▀ █ █ ▀█▄ ${greenf} ▄█▀ █ █ ▀█▄ ${yellowf} ▄█▀ █ █ ▀█▄ ${bluef} ▄█▀ █ █ ▀█▄ ${purplef} ▄█▀ █ █ ▀█▄ ${cyanf} ▄█▀ █ █ ▀█▄
|
||||
${redf}███ ███ ███ ${greenf}███ ███ ███ ${yellowf}███ ███ ███ ${bluef}███ ███ ███ ${purplef}███ ███ ███ ${cyanf}███ ███ ███
|
||||
${redf}█████████████ ${greenf}█████████████ ${yellowf}█████████████ ${bluef}█████████████ ${purplef}█████████████ ${cyanf}█████████████
|
||||
${redf} ▀██▄ ▄██▀ ${greenf} ▀██▄ ▄██▀ ${yellowf} ▀██▄ ▄██▀ ${bluef} ▀██▄ ▄██▀ ${purplef} ▀██▄ ▄██▀ ${cyanf} ▀██▄ ▄██▀
|
||||
${reset}
|
||||
EOF
|
@ -1,54 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=129265#p129265
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
# ****************************** Building blocks: █ ▓ ▒ ░ ▄ ▀ ▐ ▌ ● ═ ║ ╔ ╦ ╗ ╚ ╩ ╝ ■ ▬ ▲ ▼ ◄ ►
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${invon}
|
||||
${redf} ▄█ █▄ ${greenf} ▄▄ ▄▄ ${yellowf} ▄▄ ▄▄ ${bluef} ▄▄ ▄▄ ${purplef} ▄▄ ▄▄ ${cyanf} ▄█ █▄
|
||||
${redf} ▄█▀ ▄▄▄ ▀█▄ ${greenf} ▄█▀ ▄▄▄ ▀█▄ ${yellowf} ▄█▀ ▄▄▄ ▀█▄ ${bluef} ▄█▀ ▄▄▄ ▀█▄ ${purplef} ▄█▀ ▄▄▄ ▀█▄ ${cyanf} ▄█▀ ▄▄▄ ▀█▄
|
||||
${redf} ██▄▄██▀██▄▄██ ${greenf} ██▄▄██▀██▄▄██ ${yellowf} ██▄▄██▀██▄▄██ ${bluef} ██▄▄██▀██▄▄██ ${purplef} ██▄▄██▀██▄▄██ ${cyanf} ██▄▄██▀██▄▄██
|
||||
${redf} ██▀▀█████▀▀██ ${greenf} ██▀▀█████▀▀██ ${yellowf} ██▀▀█████▀▀██ ${bluef} ██▀▀█████▀▀██ ${purplef} ██▀▀█████▀▀██ ${cyanf} ██▀▀█████▀▀██
|
||||
${redf} ▀█▄ ▀▀▀ ▄█▀ ${greenf} ▀█▄ ▀▀▀ ▄█▀ ${yellowf} ▀█▄ ▀▀▀ ▄█▀ ${bluef} ▀█▄ ▀▀▀ ▄█▀ ${purplef} ▀█▄ ▀▀▀ ▄█▀ ${cyanf} ▀█▄ ▀▀▀ ▄█▀
|
||||
${redf} ▀█ █▀ ${greenf} ▀▀ ▀▀ ${yellowf} ▀▀ ▀▀ ${bluef} ▀▀ ▀▀ ${purplef} ▀▀ ▀▀ ${cyanf} ▀█ █▀
|
||||
${boldon}${invon}
|
||||
${redf} ▄█ █▄ ${greenf} ▄▄ ▄▄ ${yellowf} ▄▄ ▄▄ ${bluef} ▄▄ ▄▄ ${purplef} ▄▄ ▄▄ ${cyanf} ▄█ █▄
|
||||
${redf} ▄█▀ ▄▄▄ ▀█▄ ${greenf} ▄█▀ ▄▄▄ ▀█▄ ${yellowf} ▄█▀ ▄▄▄ ▀█▄ ${bluef} ▄█▀ ▄▄▄ ▀█▄ ${purplef} ▄█▀ ▄▄▄ ▀█▄ ${cyanf} ▄█▀ ▄▄▄ ▀█▄
|
||||
${redf} ██▄▄██▀██▄▄██ ${greenf} ██▄▄██▀██▄▄██ ${yellowf} ██▄▄██▀██▄▄██ ${bluef} ██▄▄██▀██▄▄██ ${purplef} ██▄▄██▀██▄▄██ ${cyanf} ██▄▄██▀██▄▄██
|
||||
${redf} ██▀▀█████▀▀██ ${greenf} ██▀▀█████▀▀██ ${yellowf} ██▀▀█████▀▀██ ${bluef} ██▀▀█████▀▀██ ${purplef} ██▀▀█████▀▀██ ${cyanf} ██▀▀█████▀▀██
|
||||
${redf} ▀█▄ ▀▀▀ ▄█▀ ${greenf} ▀█▄ ▀▀▀ ▄█▀ ${yellowf} ▀█▄ ▀▀▀ ▄█▀ ${bluef} ▀█▄ ▀▀▀ ▄█▀ ${purplef} ▀█▄ ▀▀▀ ▄█▀ ${cyanf} ▀█▄ ▀▀▀ ▄█▀
|
||||
${redf} ▀█ █▀ ${greenf} ▀▀ ▀▀ ${yellowf} ▀▀ ▀▀ ${bluef} ▀▀ ▀▀ ${purplef} ▀▀ ▀▀ ${cyanf} ▀█ █▀
|
||||
${reset}
|
||||
|
||||
EOF
|
@ -1,58 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Original Author: pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=129265#p129265
|
||||
# Further Modified by: Chef-Stark
|
||||
# This is the same tiefighter1 color-script minus the inverted colors
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
# ****************************** Building blocks: █ ▓ ▒ ░ ▄ ▀ ▐ ▌ ● ═ ║ ╔ ╦ ╗ ╚ ╩ ╝ ■ ▬ ▲ ▼ ◄ ►
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
|
||||
${redf} ▄█ █▄ ${greenf} ▄▄ ▄▄ ${yellowf} ▄▄ ▄▄ ${bluef} ▄▄ ▄▄ ${purplef} ▄▄ ▄▄ ${cyanf} ▄█ █▄
|
||||
${redf} ▄█▀ ▄▄▄ ▀█▄ ${greenf} ▄█▀ ▄▄▄ ▀█▄ ${yellowf} ▄█▀ ▄▄▄ ▀█▄ ${bluef} ▄█▀ ▄▄▄ ▀█▄ ${purplef} ▄█▀ ▄▄▄ ▀█▄ ${cyanf} ▄█▀ ▄▄▄ ▀█▄
|
||||
${redf} ██▄▄██▀██▄▄██ ${greenf} ██▄▄██▀██▄▄██ ${yellowf} ██▄▄██▀██▄▄██ ${bluef} ██▄▄██▀██▄▄██ ${purplef} ██▄▄██▀██▄▄██ ${cyanf} ██▄▄██▀██▄▄██
|
||||
${redf} ██▀▀█████▀▀██ ${greenf} ██▀▀█████▀▀██ ${yellowf} ██▀▀█████▀▀██ ${bluef} ██▀▀█████▀▀██ ${purplef} ██▀▀█████▀▀██ ${cyanf} ██▀▀█████▀▀██
|
||||
${redf} ▀█▄ ▀▀▀ ▄█▀ ${greenf} ▀█▄ ▀▀▀ ▄█▀ ${yellowf} ▀█▄ ▀▀▀ ▄█▀ ${bluef} ▀█▄ ▀▀▀ ▄█▀ ${purplef} ▀█▄ ▀▀▀ ▄█▀ ${cyanf} ▀█▄ ▀▀▀ ▄█▀
|
||||
${redf} ▀█ █▀ ${greenf} ▀▀ ▀▀ ${yellowf} ▀▀ ▀▀ ${bluef} ▀▀ ▀▀ ${purplef} ▀▀ ▀▀ ${cyanf} ▀█ █▀
|
||||
|
||||
${boldon}
|
||||
|
||||
${redf} ▄█ █▄ ${greenf} ▄▄ ▄▄ ${yellowf} ▄▄ ▄▄ ${bluef} ▄▄ ▄▄ ${purplef} ▄▄ ▄▄ ${cyanf} ▄█ █▄
|
||||
${redf} ▄█▀ ▄▄▄ ▀█▄ ${greenf} ▄█▀ ▄▄▄ ▀█▄ ${yellowf} ▄█▀ ▄▄▄ ▀█▄ ${bluef} ▄█▀ ▄▄▄ ▀█▄ ${purplef} ▄█▀ ▄▄▄ ▀█▄ ${cyanf} ▄█▀ ▄▄▄ ▀█▄
|
||||
${redf} ██▄▄██▀██▄▄██ ${greenf} ██▄▄██▀██▄▄██ ${yellowf} ██▄▄██▀██▄▄██ ${bluef} ██▄▄██▀██▄▄██ ${purplef} ██▄▄██▀██▄▄██ ${cyanf} ██▄▄██▀██▄▄██
|
||||
${redf} ██▀▀█████▀▀██ ${greenf} ██▀▀█████▀▀██ ${yellowf} ██▀▀█████▀▀██ ${bluef} ██▀▀█████▀▀██ ${purplef} ██▀▀█████▀▀██ ${cyanf} ██▀▀█████▀▀██
|
||||
${redf} ▀█▄ ▀▀▀ ▄█▀ ${greenf} ▀█▄ ▀▀▀ ▄█▀ ${yellowf} ▀█▄ ▀▀▀ ▄█▀ ${bluef} ▀█▄ ▀▀▀ ▄█▀ ${purplef} ▀█▄ ▀▀▀ ▄█▀ ${cyanf} ▀█▄ ▀▀▀ ▄█▀
|
||||
${redf} ▀█ █▀ ${greenf} ▀▀ ▀▀ ${yellowf} ▀▀ ▀▀ ${bluef} ▀▀ ▀▀ ${purplef} ▀▀ ▀▀ ${cyanf} ▀█ █▀
|
||||
${reset}
|
||||
|
||||
EOF
|
@ -1,46 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=129265#p129265
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
# ****************************** Building blocks: █ ▓ ▒ ░ ▄ ▀ ▐ ▌ ● ═ ║ ╔ ╦ ╗ ╚ ╩ ╝ ■ ▬ ▲ ▼ ◄ ►
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${greenf}█ █ ${redf}█ █ ${bluef}█ █ ${purplef}█ █ ${cyanf}█ █
|
||||
${greenf}█ ▄▄▄ █ ${redf}█ ▄▄▄ █ ${bluef}█ ▄▄▄ █ ${purplef}█ ▄▄▄ █ ${cyanf}█ ▄▄▄ █
|
||||
${greenf}█▄▄██▀██▄▄█ ${redf}█▄▄██▀██▄▄█ ${bluef}█▄▄██▀██▄▄█ ${purplef}█▄▄██▀██▄▄█ ${cyanf}█▄▄██▀██▄▄█
|
||||
${greenf}█▀▀█████▀▀█ ${redf}█▀▀█████▀▀█ ${bluef}█▀▀█████▀▀█ ${purplef}█▀▀█████▀▀█ ${cyanf}█▀▀█████▀▀█
|
||||
${greenf}█ ▀▀▀ █ ${redf}█ ▀▀▀ █ ${bluef}█ ▀▀▀ █ ${purplef}█ ▀▀▀ █ ${cyanf}█ ▀▀▀ █
|
||||
${greenf}█ █ ${redf}█ █ ${bluef}█ █ ${purplef}█ █ ${cyanf}█ █
|
||||
${reset}
|
||||
|
||||
EOF
|
@ -1,53 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ANSI Color -- use these variables to easily have different color
|
||||
# and format output. Make sure to output the reset sequence after
|
||||
# colors (f = foreground, b = background), and use the 'off'
|
||||
# feature for anything you turn on.
|
||||
# Author: pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=129265#p129265
|
||||
|
||||
initializeANSI()
|
||||
{
|
||||
esc=""
|
||||
|
||||
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m"
|
||||
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m"
|
||||
cyanf="${esc}[36m"; whitef="${esc}[37m"
|
||||
|
||||
blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m"
|
||||
yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m"
|
||||
cyanb="${esc}[46m"; whiteb="${esc}[47m"
|
||||
|
||||
boldon="${esc}[1m"; boldoff="${esc}[22m"
|
||||
italicson="${esc}[3m"; italicsoff="${esc}[23m"
|
||||
ulon="${esc}[4m"; uloff="${esc}[24m"
|
||||
invon="${esc}[7m"; invoff="${esc}[27m"
|
||||
|
||||
reset="${esc}[0m"
|
||||
}
|
||||
|
||||
# note in this first use that switching colors doesn't require a reset
|
||||
# first - the new color overrides the old one.
|
||||
# ****************************** Building blocks: █ ▓ ▒ ░ ▄ ▀ ▐ ▌ ● ═ ║ ╔ ╦ ╗ ╚ ╩ ╝ ■ ▬ ▲ ▼ ◄ ►
|
||||
|
||||
initializeANSI
|
||||
|
||||
cat << EOF
|
||||
|
||||
${redf} █ █ ${greenf}█ █ ${yellowf}█ █ ${bluef}█ █ ${purplef}█ █ ${cyanf}█ █
|
||||
${redf} █ ▄▄▄ █ ${greenf}█ ▄▄▄ █ ${yellowf}█ ▄▄▄ █ ${bluef}█ ▄▄▄ █ ${purplef}█ ▄▄▄ █ ${cyanf}█ ▄▄▄ █
|
||||
${redf} █▄▄██▀██▄▄█ ${greenf}█▄▄██▀██▄▄█ ${yellowf}█▄▄██▀██▄▄█ ${bluef}█▄▄██▀██▄▄█ ${purplef}█▄▄██▀██▄▄█ ${cyanf}█▄▄██▀██▄▄█
|
||||
${redf} █▀▀█████▀▀█ ${greenf}█▀▀█████▀▀█ ${yellowf}█▀▀█████▀▀█ ${bluef}█▀▀█████▀▀█ ${purplef}█▀▀█████▀▀█ ${cyanf}█▀▀█████▀▀█
|
||||
${redf} █ ▀▀▀ █ ${greenf}█ ▀▀▀ █ ${yellowf}█ ▀▀▀ █ ${bluef}█ ▀▀▀ █ ${purplef}█ ▀▀▀ █ ${cyanf}█ ▀▀▀ █
|
||||
${redf} █ █ ${greenf}█ █ ${yellowf}█ █ ${bluef}█ █ ${purplef}█ █ ${cyanf}█ █
|
||||
${boldon}
|
||||
${redf} █ █ ${greenf}█ █ ${yellowf}█ █ ${bluef}█ █ ${purplef}█ █ ${cyanf}█ █
|
||||
${redf} █ ▄▄▄ █ ${greenf}█ ▄▄▄ █ ${yellowf}█ ▄▄▄ █ ${bluef}█ ▄▄▄ █ ${purplef}█ ▄▄▄ █ ${cyanf}█ ▄▄▄ █
|
||||
${redf} █▄▄██▀██▄▄█ ${greenf}█▄▄██▀██▄▄█ ${yellowf}█▄▄██▀██▄▄█ ${bluef}█▄▄██▀██▄▄█ ${purplef}█▄▄██▀██▄▄█ ${cyanf}█▄▄██▀██▄▄█
|
||||
${redf} █▀▀█████▀▀█ ${greenf}█▀▀█████▀▀█ ${yellowf}█▀▀█████▀▀█ ${bluef}█▀▀█████▀▀█ ${purplef}█▀▀█████▀▀█ ${cyanf}█▀▀█████▀▀█
|
||||
${redf} █ ▀▀▀ █ ${greenf}█ ▀▀▀ █ ${yellowf}█ ▀▀▀ █ ${bluef}█ ▀▀▀ █ ${purplef}█ ▀▀▀ █ ${cyanf}█ ▀▀▀ █
|
||||
${redf} █ █ ${greenf}█ █ ${yellowf}█ █ ${bluef}█ █ ${purplef}█ █ ${cyanf}█ █
|
||||
${reset}
|
||||
|
||||
EOF
|
@ -1,23 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# ANSI color scheme script by pfh
|
||||
# Source: http://crunchbang.org/forums/viewtopic.php?pid=141044#p141044
|
||||
# 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▀■▄
|
||||
$bld$f1▀■▄ $f2▀■▄ $f3▀■▄ $f4▀■▄ $f5▀■▄ $f6▀■▄$rst
|
||||
|
||||
EOF
|
@ -12,7 +12,7 @@ fi
|
||||
|
||||
pandoc \
|
||||
--pdf-engine=xelatex \
|
||||
-V 'mainfont:Iosevka Slab' \
|
||||
-V 'mainfont:Iosevka Etoile' \
|
||||
-V 'sansfont:Iosevka Aile' \
|
||||
-V 'monofont:Iosevka' \
|
||||
-V 'geometry:margin=1in' \
|
||||
|
7
setup/colorscript.sh
Executable file
7
setup/colorscript.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
git clone https://gitlab.com/dwt1/shell-color-scripts.git
|
||||
|
||||
cp -v ./shell-color-scripts/colorscript.sh ~/.local/bin/colorscript
|
||||
chmod 755 ~/.local/bin/colorscript
|
||||
cp -rv ./shell-color-scripts/colorscripts ~/.local/bin/
|
Loading…
Reference in New Issue
Block a user