Update zsh config

This commit is contained in:
Şahin Akkaya 2022-03-18 10:06:10 +03:00
parent 8d4925cff2
commit 316cc4d51f
30 changed files with 1124 additions and 20 deletions

View File

@ -1,7 +1,13 @@
# alias af=alias-finder
alias menu="menu | lolcat"
alias nomnom="menu | lolcat"
alias so="shrout"
alias sf="shrfile"
alias co="cpyout"
alias cf="cpyfile"
alias ls=lsd
alias lt="lsd --tree"
alias lsl="clear; ls"
alias lll="clear; ll"
alias rake='noglob bundled_rake'
alias weather='curl wttr.in/?0'
alias gdm='gd master'
@ -22,20 +28,21 @@ alias suod="sudo"
alias sduo="sudo"
alias zz='z -c' # restrict matches to subdirs of $PWD
alias zi='z -I' # use fzf to select in multiple matches
alias h=z
alias hi='z -I'
alias hh='z -c'
alias hb='z -b'
alias n=z
alias ni='z -I'
alias nn='z -c'
alias nb='z -b'
alias t="todo.sh"
alias ta="todo.sh add"
alias tl="todo.sh list"
alias td="todo.sh do"
alias tp="todo.sh pri"
alias vim="nvim"
alias v="vim"
alias viz="vim ${ZDOTDIR:-$HOME}/.zshrc"
alias vizp="vim ${ZDOTDIR:-$HOME}/.zpreztorc"
alias vit="vim ~/.tmux.conf"
alias vip="vim ~/.config/polybar/config"
alias vip="vim ~/.config/polybar/config.ini"
alias viv="vim ~/.vimrc"
alias viw="vim ~/.which-key.vim"
alias via="vim ${ZDOTDIR:-$HOME}/.aliases"

View File

@ -37,6 +37,7 @@
vcs # git status
# =========================[ Line #2 ]=========================
newline # \n
background_jobs # presence of background jobs
prompt_char # prompt symbol
)
@ -48,7 +49,6 @@
# =========================[ Line #1 ]=========================
status # exit code of the last command
command_execution_time # duration of the last command
background_jobs # presence of background jobs
direnv # direnv status (https://direnv.net/)
asdf # asdf version manager (https://github.com/asdf-vm/asdf)
virtualenv # python virtual environment (https://docs.python.org/3/library/venv.html)
@ -549,10 +549,11 @@
#######################[ background_jobs: presence of background jobs ]#######################
# Don't show the number of background jobs.
typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=false
typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=true
# Background jobs color.
typeset -g POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=70
# Custom icon.
typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION=''
# typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION='⭐'
#######################[ direnv: direnv status (https://direnv.net/) ]########################

View File

@ -215,7 +215,7 @@ zstyle ':prezto:module:syntax-highlighting' highlighters \
#
# Auto start a session when Zsh is launched in a local terminal.
zstyle ':prezto:module:tmux:auto-start' local 'yes'
zstyle ':prezto:module:tmux:auto-start' local 'no'
# Auto start a session when Zsh is launched in a SSH connection.
# zstyle ':prezto:module:tmux:auto-start' remote 'yes'

View File

@ -5,8 +5,7 @@
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
export PATH="$HOME/.local/bin/:$PATH"
export npm_config_prefix="$HOME/.local"
#
# Browser
@ -57,7 +56,7 @@ path=(
# Set the default Less options.
# Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
# Remove -X to enable it.
export LESS='-g -i -M -R -S -w -X -z-4'
export LESS='-g -i -M -R -S -w -z-4'
# Set the Less input preprocessor.
# Try both `lesspipe` and `lesspipe.sh` as either might exist on a system.

View File

@ -1,3 +1,6 @@
d="$HOME/scripts/colorscripts"
bash "$d/`ls $d | shuf -n 1`"
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.config/zsh/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
@ -24,12 +27,10 @@ fpath=("${ZDOTDIR:-$HOME}/.zsh" $fpath)
# Customize to your needs...
source "${ZDOTDIR:-$HOME}/.aliases"
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
ZSH_AUTOSUGGEST_STRATEGY=(history)
ZSH_AUTOSUGGEST_MANUAL_REBIND=true
export PATH=$PATH:$HOME/.pyenv/bin/
# To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh.
[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh
@ -57,12 +58,15 @@ zinit light-mode for \
### End of Zinit's installer chunk
zinit snippet OMZ::plugins/git/git.plugin.zsh
zinit snippet OMZ::plugins/last-working-dir/last-working-dir.plugin.zsh
zinit snippet OMZ::plugins/dirhistory/dirhistory.plugin.zsh
zinit light skywind3000/z.lua
# ZVM
function zvm_config() {
ZVM_LINE_INIT_MODE=$ZVM_MODE_INSERT
# ZVM_INSERT_MODE_CURSOR=$ZVM_CURSOR_BLOCK
ZVM_INSERT_MODE_CURSOR=$ZVM_CURSOR_BLINKING_BEAM
ZVM_NORMAL_MODE_CURSOR=$ZVM_CURSOR_BLINKING_BLOCK
ZVM_LAZY_KEYBINDINGS=true
ZVM_VI_INSERT_ESCAPE_BINDKEY=kj
}
@ -78,8 +82,12 @@ function zvm_after_init() {
bindkey '^f' forward-word
bindkey '^g' autosuggest-accept
# allow ctrl-r and ctrl-s to search the history
bindkey '^r' history-incremental-search-backward
bindkey '^s' history-incremental-search-forward
# bindkey '^r' history-incremental-search-backward
# bindkey '^s' history-incremental-search-forward
bindkey '^h' backward-kill-word
bindkey '^[[M' kill-word
bindkey -s '^@' ""
bindkey -s '' "fg\n"
# allow ctrl-a and ctrl-e to move to beginning/end of line
@ -88,15 +96,52 @@ function zvm_after_init() {
# allow ctrl-h, ctrl-w, ctrl-? for char and word deletion (standard behaviour)
bindkey '^h' backward-delete-char
# bindkey '^h' backward-delete-char
bindkey '^w' backward-kill-word
bindkey '^x' fzf-cd-widget
bindkey "\e\e" fuck-command-line
bindkey "\e[1;3D" dirhistory_zle_dirhistory_back
bindkey "\e[1;3C" dirhistory_zle_dirhistory_future
bindkey "\e[1;3A" dirhistory_zle_dirhistory_up
bindkey "\e[1;3B" dirhistory_zle_dirhistory_down
}
doit ()
{
# this function is created for forcing the deletion of the file or directory.
#
# rm somedir
# rm: cannot remove 'somedir': Is a directory
# rmdir somedir/
# rmdir: failed to remove 'somedir/': Directory not empty
# rm -rf somedir/
# rm: cannot remove 'somedir/': Permission denied
#
# Just remove the f**king directory!!
lastCommand=$(history | tail -n 1 | cut -d' ' -f3-)
firstWord=$(echo $lastCommand | cut -d' ' -f1)
RED="\033[1;31m"
GREEN="\033[1;32m"
NOCOLOR="\033[0m"
lastWord=$(echo $lastCommand | awk '{print $NF}')
case "$firstWord" in
"rm"|"rmdir")
echo -en "Execute ${RED}\"sudo rm -rf $lastWord\"${NOCOLOR}?"
read -k "? " ans
echo
if [ "$ans" = "y" ]; then
sudo rm -rf $lastWord
fi
;;
"cd")
mkdir $lastWord && cd $lastWord
;;
*) echo "Don't know what to do with \"$lastCommand\"."
;;
esac
}

86
scripts/colorscripts/animals Executable file
View File

@ -0,0 +1,86 @@
#!/usr/bin/env bash
# ============
# ASCII ANIMAL
# ============
# ANSI COLOUR CODES
RD='\x1B[0;31m'
GR='\x1B[0;32m'
YL='\x1B[1;33m'
OR='\x1B[0;33m'
BL='\x1B[0;34m'
LBL='\x1B[1;34m'
CY='\x1B[1;36m'
NC='\x1B[0m' # No Color
echo ""
# LIZARD ####################################################################
# Adapted from: http://chris.com/ascii/index.php?art=animals/reptiles/lizards - Glo Pearl
liz1="${GR} ${YL}O${GR}--${YL}O${GR}^^^^^^^^^^^^\________${NC}\n"
liz2="${GR} \__/||-------||---------~${NC}\n"
liz="$liz1$liz2"
# DINOSAUR ##################################################################
# Adapted from: http://chris.com/ascii/index.php?art=animals/reptiles/dinosaurs
din1="${OR} __ ${NC}\n"
din2="${OR} / ${LBL}°${OR}_)${NC}\n"
din3="${OR} _.----. _ / / ${NC}\n"
din4="${OR} / ../ ${NC}\n"
din5="${OR} ___/ ( | ( ..| ${NC}\n"
din6="${OR} -------|_|--|_| ${NC}\n"
din="$din1$din2$din3$din4$din5$din6"
# DUCK #####################################################################
# Adapted from: http://textart.io/art/tag/duck
duc1=" __ \n"
duc2=" ___( o)${OR}>${NC} \n"
duc3=" \ <_. ) ${GR}V${NC} \n"
duc4=" ${BL}~~~~~${NC}\`---'${BL}~~~~~${GR}|${BL}~~~${NC}\n"
duc="$duc1$duc2$duc3$duc4"
# PEACOCK #################################################################
# Adapted from: http://www.chris.com/ascii/joan/www.geocities.com/SoHo/7373/birds.html#peacockk
pea1=" ${CY}_ _ ${NC}\n"
pea2=" ${GR}__${CY}/o'V'o\\\\${GR}__ ${NC}\n"
pea3=" ${CY}__${GR}/o ${CY}\\ : / ${GR}o\\\\${CY}__ ${NC}\n"
pea4=" ${CY}/o ${GR}\`. ${CY}\ : / ${GR}.' ${CY}o\\ ${NC}\n"
pea5=" ${GR}_${CY}\\ ${GR}'. ${NC}/\"\\ ${GR}.' ${CY}/${GR}_ ${NC}\n"
pea6=" ${GR}/o${CY} \`-._ ${GR}'${NC}\\\v/${GR}' ${CY}_.-\` ${GR}o\\\ ${NC}\n"
pea7=" ${GR}\\_${CY} \`-.${NC}/ \\\\${CY}.-\` ${GR}_/ ${NC}\n"
pea8=" ${CY}/o${NC} ${GR}\`\`---._${NC}/ \\\\${GR}_.---'' ${CY}o\\\\${NC}\n"
pea9=" ${CY}\_________${NC}\ /${CY}_________/${NC}\n"
pea10=" '\_/' \n"
pea11=" ${OR}_|_|_${NC} \n"
pea="$pea1$pea2$pea3$pea4$pea5$pea6$pea7$pea8$pea9$pea10$pea11"
# SQUIRREL ################################################################
# Adapted from: http://www.heartnsoul.com/ascii_art/squirrels.txt
squ1="${OR} ,;;:;, ${NC}\n"
squ2="${OR} ;;;;; ${NC}\n"
squ3="${OR} ,:;;:; ,'=. ${NC}\n"
squ4="${OR} ;:;:;' .=\" ,'_\\\\${NC}\n"
squ5="${OR} ':;:;,/ ,__:=${RD}@${NC}\n"
squ6="${OR} ';;:; =./)_ ${NC}\n"
squ7="${OR} \`\"=\_ )_\"\` ${NC}\n"
squ8="${OR} \`\`'\"\` ${NC}\n"
squ="$squ1$squ2$squ3$squ4$squ5$squ6$squ7$squ8"
# Generate random number
RAND=$((((RANDOM + RANDOM) % 4) + 1))
case "$RAND" in
1) echo -e "$liz"
;;
2) echo -e "$din"
;;
3) echo -e "$duc"
;;
4) echo -e "$pea"
;;
# 5) echo -e "$squ"
# ;;
*)
;;
esac

48
scripts/colorscripts/bonsai Executable file
View File

@ -0,0 +1,48 @@
#!/bin/sh
# &&
# &&&&&
# &&&\/& &&&
# &&|,/ |/& &&
# &&/ / /_& &&
# \ { |_____/_&
# { / / &&&
# .`. \{___\________\/_\}
# \} \}\{ \
# }\{\{ \____&
# \{\}\{ `&&&
# {{} &&
# , -=-~{ .-^- _
# `.
# File: bonsai-tree.textart
# Description: Bonsai tree
# Author: Hazel Levine
# └─ https://git.knightsofthelambdacalcul.us/hazel
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: bonsai-tree
# └─ https://git.knightsofthelambdacalcul.us/hazel/etc/src/branch/canon/bin/bonsai-tree
# This file from NNB's text art collections
# └─ https://github.com/NNBnh/nnbs-text-art/blob/main/other/bonsai-tree.textart
# Start
echo -e "\n \033[32m&&
\033[32m&&&&&
\033[32m&&&\033[33m\/\033[32m& &&&
\033[32m&&\033[33m|,/ |/\033[32m& &&
\033[32m&&\033[33m/ / /_\033[32m& &&
\033[33m\ { |_____/_\033[32m&
\033[33m{ / / \033[32m&&&
\033[33m.\`. \\{___\________\/_\}
\033[33m\} \}\{ \\
\033[33m}\{\{ \\____\033[32m&
\033[33m\{\}\{ \`\033[32m&\033[33m\\033[32m&&
\033[33m{{} \033[32m&&
\033[33m, -=-~{ .-^- _
\`.\n"
exit 0

View File

@ -0,0 +1,22 @@
#!/bin/sh
# ░░░░░░▒▒ ░░░░░░▒▒ ░░░░░░▒▒ ░░░░░░▒▒ ░░░░░░▒▒ ░░░░░░▒▒
# ░░░░░░▒▒ ░░░░░░▒▒ ░░░░░░▒▒ ░░░░░░▒▒ ░░░░░░▒▒ ░░░░░░▒▒
# ░░░░░░▒▒ ░░░░░░▒▒ ░░░░░░▒▒ ░░░░░░▒▒ ░░░░░░▒▒ ░░░░░░▒▒
# ▓▓▓▓▓▓██ ▓▓▓▓▓▓██ ▓▓▓▓▓▓██ ▓▓▓▓▓▓██ ▓▓▓▓▓▓██ ▓▓▓▓▓▓██
# File: colorblocks.textart
# Description: Show the terminal colourscheme as blocks
# Author: Adhi Pambudi
# └─ https://github.com/addy-dclxvi
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/icon/colorblocks.textart
# Start
echo -e "\n\033[41m \033[101m \033[0m \033[42m \033[102m \033[0m \033[43m \033[103m \033[0m \033[44m \033[104m \033[0m \033[45m \033[105m \033[0m \033[46m \033[106m \033[0m
\033[41m \033[101m \033[0m \033[42m \033[102m \033[0m \033[43m \033[103m \033[0m \033[44m \033[104m \033[0m \033[45m \033[105m \033[0m \033[46m \033[106m \033[0m
\033[41m \033[101m \033[0m \033[42m \033[102m \033[0m \033[43m \033[103m \033[0m \033[44m \033[104m \033[0m \033[45m \033[105m \033[0m \033[46m \033[106m \033[0m
\033[47m \033[107m \033[0m \033[47m \033[107m \033[0m \033[47m \033[107m \033[0m \033[47m \033[107m \033[0m \033[47m \033[107m \033[0m \033[47m \033[107m \033[0m\n"
exit 0

25
scripts/colorscripts/colorwheel Executable file
View File

@ -0,0 +1,25 @@
#!/bin/sh
# ||||||
# ||||||||||
# ||||||||||
# ||||||||||
# ||||||
# File: colorwheel.textart
# Description: {{des}}
# Author: Bastien Dejean
# └─ https://github.com/baskerville
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/stark/colorwheel.textart
# Start
echo -e "\n \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\n"
exit 0

18
scripts/colorscripts/crunch Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
# File: crunch.textart
# Description: {{des}}
# Author: Gutterslob
# └─ https://crunchbang.org/forums/profile.php?id=3763
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/icon/crunch.textart
# Start
echo -e "\n \033[41m \033[0m \033[41m \033[0m \033[42m \033[0m \033[42m \033[0m \033[43m \033[0m \033[43m \033[0m \033[44m \033[0m \033[44m \033[0m \033[45m \033[0m \033[45m \033[0m \033[46m \033[0m \033[46m \033[0m
\033[41m \033[0m \033[42m \033[0m \033[43m \033[0m \033[44m \033[0m \033[45m \033[0m \033[46m \033[0m
\033[41m \033[101m \033[41m \033[0m \033[42m \033[102m \033[42m \033[0m \033[43m \033[103m \033[43m \033[0m \033[44m \033[104m \033[44m \033[0m \033[45m \033[105m \033[45m \033[0m \033[46m \033[106m \033[46m \033[0m
\033[41m \033[0m \033[42m \033[0m \033[43m \033[0m \033[44m \033[0m \033[45m \033[0m \033[46m \033[0m
\033[41m \033[0m \033[41m \033[0m \033[42m \033[0m \033[42m \033[0m \033[43m \033[0m \033[43m \033[0m \033[44m \033[0m \033[44m \033[0m \033[45m \033[0m \033[45m \033[0m \033[46m \033[0m \033[46m \033[0m\n"
exit 0

40
scripts/colorscripts/crunchbang Executable file
View File

@ -0,0 +1,40 @@
#!/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}[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}
${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

31
scripts/colorscripts/dna Executable file
View File

@ -0,0 +1,31 @@
#!/bin/sh
# File: dna.textart
# Description: {{des}}
# Author: Pfh
# └─ https://crunchbang.org/forums/profile.php?id=9103
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/icon/dna.textart
# Start
echo -e "\n \033[31m\\---\033[91m/\033[0m \033[32m\\---\033[92m/\033[0m \033[33m\\---\033[93m/\033[0m \033[34m\\---\033[94m/\033[0m \033[35m\\---\033[95m/\033[0m \033[36m\\---\033[96m/\033[0m
\033[31m\\-\033[91m/\033[0m \033[32m\\-\033[92m/\033[0m \033[33m\\-\033[93m/\033[0m \033[34m\\-\033[94m/\033[0m \033[35m\\-\033[95m/\033[0m \033[36m\\-\033[96m/\033[0m
\033[31m\\\\\033[0m \033[32m\\\\\033[0m \033[33m\\\\\033[0m \033[34m\\\\\033[0m \033[35m\\\\\033[0m \033[36m\\\\\033[0m
\033[91m/-\033[31m\\\\\033[0m \033[92m/-\033[32m\\\\\033[0m \033[93m/-\033[33m\\\\\033[0m \033[94m/-\033[34m\\\\\033[0m \033[95m/-\033[35m\\\\\033[0m \033[96m/-\033[36m\\\\\033[0m
\033[91m/---\033[31m\\\\\033[0m \033[92m/---\033[32m\\\\\033[0m \033[93m/---\033[33m\\\\\033[0m \033[94m/---\033[34m\\\\\033[0m \033[95m/---\033[35m\\\\\033[0m \033[96m/---\033[36m\\\\\033[0m
\033[91m(-----\033[31m)\033[0m \033[92m(-----\033[32m)\033[0m \033[93m(-----\033[33m)\033[0m \033[94m(-----\033[34m)\033[0m \033[95m(-----\033[35m)\033[0m \033[96m(-----\033[36m)\033[0m
\033[91m\\---\033[31m/\033[0m \033[92m\\---\033[32m/\033[0m \033[93m\\---\033[33m/\033[0m \033[94m\\---\033[34m/\033[0m \033[95m\\---\033[35m/\033[0m \033[96m\\---\033[36m/\033[0m
\033[91m\\-\033[31m/\033[0m \033[92m\\-\033[32m/\033[0m \033[93m\\-\033[33m/\033[0m \033[94m\\-\033[34m/\033[0m \033[95m\\-\033[35m/\033[0m \033[96m\\-\033[36m/\033[0m
\033[91m/\033[0m \033[92m/\033[0m \033[93m/\033[0m \033[94m/\033[0m \033[95m/\033[0m \033[96m/\033[0m
\033[31m/-\033[91m\\\\\033[0m \033[32m/-\033[92m\\\\\033[0m \033[33m/-\033[93m\\\\\033[0m \033[34m/-\033[94m\\\\\033[0m \033[35m/-\033[95m\\\\\033[0m \033[36m/-\033[96m\\\\\033[0m
\033[31m/---\033[91m\\\\\033[0m \033[32m/---\033[92m\\\\\033[0m \033[33m/---\033[93m\\\\\033[0m \033[34m/---\033[94m\\\\\033[0m \033[35m/---\033[95m\\\\\033[0m \033[36m/---\033[96m\\\\\033[0m
\033[31m(-----\033[91m)\033[0m \033[32m(-----\033[92m)\033[0m \033[33m(-----\033[93m)\033[0m \033[34m(-----\033[94m)\033[0m \033[35m(-----\033[95m)\033[0m \033[36m(-----\033[96m)\033[0m
\033[31m\\---\033[91m/\033[0m \033[32m\\---\033[92m/\033[0m \033[33m\\---\033[93m/\033[0m \033[34m\\---\033[94m/\033[0m \033[35m\\---\033[95m/\033[0m \033[36m\\---\033[96m/\033[0m
\033[31m\\-\033[91m/\033[0m \033[32m\\-\033[92m/\033[0m \033[33m\\-\033[93m/\033[0m \033[34m\\-\033[94m/\033[0m \033[35m\\-\033[95m/\033[0m \033[36m\\-\033[96m/\033[0m
\033[31m\\\\\033[0m \033[32m\\\\\033[0m \033[33m\\\\\033[0m \033[34m\\\\\033[0m \033[35m\\\\\033[0m \033[36m\\\\\033[0m
\033[91m/\033[0m \033[92m/\033[0m \033[93m/\033[0m \033[94m/\033[0m \033[95m/\033[0m \033[96m/\033[0m
\033[31m/-\033[91m\\\\\033[0m \033[32m/-\033[92m\\\\\033[0m \033[33m/-\033[93m\\\\\033[0m \033[34m/-\033[94m\\\\\033[0m \033[35m/-\033[95m\\\\\033[0m \033[36m/-\033[96m\\\\\033[0m
\033[31m/---\033[91m\\\\\033[0m \033[32m/---\033[92m\\\\\033[0m \033[33m/---\033[93m\\\\\033[0m \033[34m/---\033[94m\\\\\033[0m \033[35m/---\033[95m\\\\\033[0m \033[36m/---\033[96m\\\\\033[0m\n"
exit 0

66
scripts/colorscripts/emwave Executable file
View File

@ -0,0 +1,66 @@
#!/bin/sh
# /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
# File: emwave.textart
# Description: {{des}}
# Author: Ilya144
# └─ https://github.com/ilya144
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/emwave.textart
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# Values
TEXT="${1:-/\\}"
while [ "${#TEXTS}" -le '75' ]; do
TEXTS="$TEXTS$TEXT"
done
TEXTS=$(printf '%s' "$TEXTS" | sed -e 's/^\(.\{75\}\).*/\1/')
# Start
i='0'
while [ -n "$TEXTS" ]; do
charater=$(echo "$TEXTS" | sed -e 's/^\(.\{1\}\).*/\1/')
TEXTS="${TEXTS#?}"
case "$charater" in
'\') charater='\\' ;;
'%') charater='%%' ;;
esac
r=$(( 255 - ( i * ( 255 / 76 ) ) ))
g=$(( i * ( 512 / 76 ) ))
b=$(( i * ( 255 / 76 ) ))
[ "$g" -gt 255 ] && g=$(( 510 - g ))
rr=$(( 255 - r ))
gg=$(( 255 - g ))
bb=$(( 255 - b ))
print="$print\033[48;2;${r};${g};${b}m\033[38;2;${rr};${gg};${bb}m$charater\033[0m"
i=$(( i + 1 ))
done
echo -e "$print"
exit 0

19
scripts/colorscripts/faces Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh
# File: faces.textart
# Description: {{des}}
# Author: Pfh
# └─ https://crunchbang.org/forums/profile.php?id=9103
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/icon/faces.textart
# Start
echo -e "\n╔══════════════════════════════════════════════════════════════════╗
║ \033[31m▄█ █▄ \033[32m▄█ █▄ \033[33m▄█ █▄ \033[34m▄█ █▄ \033[35m▄█ █▄ \033[36m▄█ █▄ \033[0m║
║ \033[91m▄█◄► ◄►█▄ \033[92m▄█◄► ◄►█▄ \033[93m▄█◄► ◄►█▄ \033[94m▄█◄► ◄►█▄ \033[95m▄█◄► ◄►█▄ \033[96m▄█◄► ◄►█▄ \033[0m║
║ \033[91m▀█  █▀ \033[92m▀█  █▀ \033[93m▀█  █▀ \033[94m▀█  █▀ \033[95m▀█  █▀ \033[96m▀█  █▀ \033[0m║
║ \033[31m▀█ █▀ \033[32m▀█ █▀ \033[33m▀█ █▀ \033[34m▀█ █▀ \033[35m▀█ █▀ \033[36m▀█ █▀ \033[0m║
╚══════════════════════════════════════════════════════════════════╝\n"
exit 0

16
scripts/colorscripts/fade Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
# File: fade.textart
# Description: {{des}}
# Author: Pfh
# └─ https://crunchbang.org/forums/profile.php?id=9103
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/icon/fade.textart
# Start
echo -e "\n\033[31m▒▒▒▒ \033[91m▒▒ \033[32m▒▒▒▒ \033[92m▒▒ \033[33m▒▒▒▒ \033[93m▒▒ \033[34m▒▒▒▒ \033[94m▒▒ \033[35m▒▒▒▒ \033[95m▒▒ \033[36m▒▒▒▒ \033[96m▒▒\033[0m
\033[31m▒▒ ■ \033[91m▒▒ \033[32m▒▒ ■ \033[92m▒▒ \033[33m▒▒ ■ \033[93m▒▒ \033[34m▒▒ ■ \033[94m▒▒ \033[35m▒▒ ■ \033[95m▒▒ \033[36m▒▒ ■ \033[96m▒▒\033[0m
\033[31m▒▒ \033[91m▒▒▒▒ \033[32m▒▒ \033[92m▒▒▒▒ \033[33m▒▒ \033[93m▒▒▒▒ \033[34m▒▒ \033[94m▒▒▒▒ \033[35m▒▒ \033[95m▒▒▒▒ \033[36m▒▒ \033[96m▒▒▒▒\033[0m\n"
exit 0

24
scripts/colorscripts/ghosts Executable file
View File

@ -0,0 +1,24 @@
#!/bin/sh
# File: ghosts.textart
# Description: {{des}}
# Author: Pfh
# └─ https://crunchbang.org/forums/profile.php?id=9103
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/icon/ghosts.textart
# Start
echo -e "\n \033[31m▄▄▄ \033[32m▄▄▄ \033[33m▄▄▄ \033[34m▄▄▄ \033[35m▄▄▄ \033[36m▄▄▄\033[0m
\033[31m▀█▀██ ▄ \033[32m▀█▀██ ▄ \033[33m▀█▀██ ▄ \033[34m▀█▀██ ▄ \033[35m▀█▀██ ▄ \033[36m▀█▀██ ▄\033[0m
\033[31m▀▄██████▀ \033[32m▀▄██████▀ \033[33m▀▄██████▀ \033[34m▀▄██████▀ \033[35m▀▄██████▀ \033[36m▀▄██████▀\033[0m
\033[31m▀█████ \033[32m▀█████ \033[33m▀█████ \033[34m▀█████ \033[35m▀█████ \033[36m▀█████\033[0m
\033[31m▀▀▀▀▄ \033[32m▀▀▀▀▄ \033[33m▀▀▀▀▄ \033[34m▀▀▀▀▄ \033[35m▀▀▀▀▄ \033[36m▀▀▀▀▄\033[0m
\033[91m▄▄▄ \033[92m▄▄▄ \033[93m▄▄▄ \033[94m▄▄▄ \033[95m▄▄▄ \033[96m▄▄▄\033[0m
\033[91m▀█▀██ ▄ \033[92m▀█▀██ ▄ \033[93m▀█▀██ ▄ \033[94m▀█▀██ ▄ \033[95m▀█▀██ ▄ \033[96m▀█▀██ ▄\033[0m
\033[91m▀▄██████▀ \033[92m▀▄██████▀ \033[93m▀▄██████▀ \033[94m▀▄██████▀ \033[95m▀▄██████▀ \033[96m▀▄██████▀\033[0m
\033[91m▀█████ \033[92m▀█████ \033[93m▀█████ \033[94m▀█████ \033[95m▀█████ \033[96m▀█████\033[0m
\033[91m▀▀▀▀▄ \033[92m▀▀▀▀▄ \033[93m▀▀▀▀▄ \033[94m▀▀▀▀▄ \033[95m▀▀▀▀▄ \033[96m▀▀▀▀▄\033[0m\n"
exit 0

26
scripts/colorscripts/hedgehogs Executable file
View File

@ -0,0 +1,26 @@
#!/usr/bin/env bash
# ANSI color scheme script by github.com/joshdk
red=$(printf '\e[31m')
grn=$(printf '\e[32m')
ylw=$(printf '\e[33m')
blu=$(printf '\e[34m')
mag=$(printf '\e[35m')
cya=$(printf '\e[36m')
bld=$(printf '\e[1m')
rst=$(printf '\e[0m')
cat << ART
$red ╷╽╽╽╽╽╽╽╽╽╷ $grn ╷╽╽╽╽╽╽╽╽╽╷ $ylw ╷╽╽╽╽╽╽╽╽╽╷ $blu ╷╽╽╽╽╽╽╽╽╽╷ $mag ╷╽╽╽╽╽╽╽╽╽╷ $cya ╷╽╽╽╽╽╽╽╽╽╷
$red ╽┃┃┃┃┃┃┃┃┃┃┃╽ $grn ╽┃┃┃┃┃┃┃┃┃┃┃╽ $ylw ╽┃┃┃┃┃┃┃┃┃┃┃╽ $blu ╽┃┃┃┃┃┃┃┃┃┃┃╽ $mag ╽┃┃┃┃┃┃┃┃┃┃┃╽ $cya ╽┃┃┃┃┃┃┃┃┃┃┃╽
$red ┪┃┃┃┃┃┃┃┃┃┃' .\ $grn /. '✿┃┃┃┃┃┃┃┃┃┢ $ylw ┪┃┃┃┃┃┃┃┃┃┃' .\ $blu /. '✿┃┃┃┃┃┃┃┃┃┢ $mag ┪┃┃┃┃┃┃┃┃┃┃' .\ $cya /. '✿┃┃┃┃┃┃┃┃┃┢
$red ╹┃┃┃┃┃┃┃┃⧓ ___• $grn •___ ┃┃┃┃┃┃┃┃┃╹ $ylw ╹┃┃┃┃┃┃┃┃⧓ ___• $blu •___ ┃┃┃┃┃┃┃┃┃╹ $mag ╹┃┃┃┃┃┃┃┃⧓ ___• $cya •___ ┃┃┃┃┃┃┃┃┃╹
$bld
$red ╷╽╽╽╽╽╽╽╽╽╷ $grn ╷╽╽╽╽╽╽╽╽╽╷ $ylw ╷╽╽╽╽╽╽╽╽╽╷ $blu ╷╽╽╽╽╽╽╽╽╽╷ $mag ╷╽╽╽╽╽╽╽╽╽╷ $cya ╷╽╽╽╽╽╽╽╽╽╷
$red ╽┃┃┃┃┃┃┃┃┃┃┃╽ $grn ╽┃┃┃┃┃┃┃┃┃┃┃╽ $ylw ╽┃┃┃┃┃┃┃┃┃┃┃╽ $blu ╽┃┃┃┃┃┃┃┃┃┃┃╽ $mag ╽┃┃┃┃┃┃┃┃┃┃┃╽ $cya ╽┃┃┃┃┃┃┃┃┃┃┃╽
$red ┪┃┃┃┃┃┃┃┃┃✿' .\ $grn /. '┃┃┃┃┃┃┃┃┃┃┢ $ylw ┪┃┃┃┃┃┃┃┃┃✿' .\ $blu /. '┃┃┃┃┃┃┃┃┃┃┢ $mag ┪┃┃┃┃┃┃┃┃┃✿' .\ $cya /. '┃┃┃┃┃┃┃┃┃┃┢
$red ╹┃┃┃┃┃┃┃┃┃ ___• $grn •___ ⧓┃┃┃┃┃┃┃┃╹ $ylw ╹┃┃┃┃┃┃┃┃┃ ___• $blu •___ ⧓┃┃┃┃┃┃┃┃╹ $mag ╹┃┃┃┃┃┃┃┃┃ ___• $cya •___ ⧓┃┃┃┃┃┃┃┃╹
$rst
ART

47
scripts/colorscripts/illumina Executable file
View File

@ -0,0 +1,47 @@
#!/bin/sh
# ._________________________________.
# |▓▓▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░▒|
# |░▒ _ ▒░|
# |▓ //\ ▒|
# |▓ //-- // \ ========, ▒|
# |▒ // // \ / ▒|
# |▒ // // \ / ▒|
# |▒ __________ ___▒█__ _________▒|
# |▒ / \ █▒ // // ▓|
# |▒ / \ // // ▓|
# |▒ /__________________// ▓|
# |▓ \ // ▓|
# |▓ \// ▓|
# | ▒ " ▓█|
# |▓░ ░░░░░░░▓▓▓▓▓▓▓████████▓|
# '---------------------------------'
# File: illumina.textart
# Description: {{des}}
# Author: Venam
# └─ https://venam.nixers.net/blog
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/stark/illumina.textart
# Start
echo -e "\n\033[1;33m._________________________________.\033[0m
\033[1;33m|\033[0;104;94m##\033[0m\033[46;36m########\033[106;96m#######\033[45;35m#######\033[105;95m#######\033[45;35m#\033[41;31m#\033[0;1;33m|\033[0m
\033[1;33m|\033[0;106;96m#\033[0m\033[44;34m#\033[0m \033[34m_ \033[101;91m#\033[105;95m#\033[0;1;33m|\033[0m
\033[1;33m|\033[0;104;94m#\033[0m \033[34m//\ \033[41;31m#\033[0;1;33m|\033[0m
\033[1;33m|\033[0;104;94m#\033[0m \033[32m/\033[1;32m/-- \033[0;34m/\033[1;34m/ \033[0;36m\ \033[32m========, \033[41;31m#\033[0;1;33m|\033[0m
\033[1;33m|\033[0;44;34m#\033[0m \033[32m/\033[1;32m/ \033[0;34m/\033[1;34m/ \033[0;36m\ \033[32m/ \033[101;91m#\033[0;1;33m|\033[0m
\033[1;33m|\033[0;44;34m#\033[0m \033[32m/\033[1;32m/ \033[0;34m/\033[1;34m/ \033[0;36m\ \033[32m/ \033[101;91m#\033[0;1;33m|\033[0m
\033[1;33m|\033[0;44;34m#\033[0m \033[1;31m__________ ___\033[41;31m#\033[107;97m#\033[0;31m__ _________\033[101;91m#\033[0;1;33m|\033[0m
\033[1;33m|\033[0;42;32m#\033[0m \033[32m/ \033[34m\ \033[47;37m#\033[101;91m#\033[0m \033[1;34m/\033[0;34m/ \033[1;32m/\033[0;32m/ \033[43;33m#\033[0;1;33m|\033[0m
\033[1;33m|\033[0;42;32m#\033[0m \033[32m/ \033[34m\ \033[1;34m/\033[0;34m/ \033[1;32m/\033[0;32m/ \033[43;33m#\033[0;1;33m|\033[0m
\033[1;33m|\033[0;42;32m#\033[0m \033[32m/__________________\033[1;32m/\033[0;32m/ \033[43;33m#\033[0;1;33m|\033[0m
\033[1;33m|\033[0;102;92m#\033[0m \033[34m\ \033[1;34m/\033[0;34m/ \033[103;93m#\033[0;1;33m|\033[0m
\033[1;33m|\033[0;102;92m#\033[0m \033[34m\\\\\033[1;34m/\033[0;34m/ \033[103;93m#\033[0;1;33m|\033[0m
\033[1;33m|\033[0;40;30m#\033[42;32m#\033[0m \033[1;34m\" \033[0;43;33m#\033[107;97m#\033[0;1;33m|\033[0m
\033[1;33m|\033[0;102;92m#\033[100;90m#\033[40;30m########\033[100;90m#######\033[47;37m#######\033[107;97m#######\033[47;37m#\033[103;93m#\033[0;1;33m|\033[0m
\033[1;33m'---------------------------------'\033[0m\n"
exit 0

30
scripts/colorscripts/invaders Executable file
View File

@ -0,0 +1,30 @@
#!/bin/sh
# File: space-invaders.textart
# Description: Space Invaders
# Author: Lolilolicon
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/icon/space-invaders.textart
# Start
echo -e "\n \033[31m▀▄ ▄▀ \033[32m▄▄▄████▄▄▄ \033[33m▄██▄ \033[34m▀▄ ▄▀ \033[35m▄▄▄████▄▄▄ \033[36m▄██▄\033[0m
\033[31m▄█▀███▀█▄ \033[32m███▀▀██▀▀███ \033[33m▄█▀██▀█▄ \033[34m▄█▀███▀█▄ \033[35m███▀▀██▀▀███ \033[36m▄█▀██▀█▄\033[0m
\033[31m█▀███████▀█ \033[32m▀▀███▀▀███▀▀ \033[33m▀█▀██▀█▀ \033[34m█▀███████▀█ \033[35m▀▀███▀▀███▀▀ \033[36m▀█▀██▀█▀\033[0m
\033[31m▀ ▀▄▄ ▄▄▀ ▀ \033[32m▀█▄ ▀▀ ▄█▀ \033[33m▀▄ ▄▀ \033[34m▀ ▀▄▄ ▄▄▀ ▀ \033[35m▀█▄ ▀▀ ▄█▀ \033[36m▀▄ ▄▀\033[0m
\033[91m▄ ▀▄ ▄▀ ▄ \033[92m▄▄▄████▄▄▄ \033[93m▄██▄ \033[94m▄ ▀▄ ▄▀ ▄ \033[95m▄▄▄████▄▄▄ \033[96m▄██▄\033[0m
\033[91m█▄█▀███▀█▄█ \033[92m███▀▀██▀▀███ \033[93m▄█▀██▀█▄ \033[94m█▄█▀███▀█▄█ \033[95m███▀▀██▀▀███ \033[96m▄█▀██▀█▄\033[0m
\033[91m▀█████████▀ \033[92m▀▀▀██▀▀██▀▀▀ \033[93m▀▀█▀▀█▀▀ \033[94m▀█████████▀ \033[95m▀▀▀██▀▀██▀▀▀ \033[96m▀▀█▀▀█▀▀\033[0m
\033[91m▄▀ ▀▄ \033[92m▄▄▀▀ ▀▀ ▀▀▄▄ \033[93m▄▀▄▀▀▄▀▄ \033[94m▄▀ ▀▄ \033[95m▄▄▀▀ ▀▀ ▀▀▄▄ \033[96m▄▀▄▀▀▄▀▄\033[0m
\033[37m▌\033[0m
\033[37m▌\033[0m
\033[37m▄█▄\033[0m
\033[37m▄█████████▄\033[0m
\033[37m▀▀▀▀▀▀▀▀▀▀▀\033[0m\n"
exit 0

18
scripts/colorscripts/mouseface Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
# File: mouseface2.textart
# Description: {{des}}
# Author: Ivo
# └─ https://crunchbang.org/forums/profile.php?id=10160
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/icon/mouseface2.textart
# Start
echo -e "\n \033[91m██ ██ \033[92m██ ██ \033[93m██ ██ \033[94m██ ██ \033[95m██ ██ \033[96m██ ██\033[0m
\033[91m█ \033[37m■\033[91m█ █\033[37m■ \033[91m█ \033[92m█ \033[37m■\033[92m█ █\033[37m■ \033[92m█ \033[93m█ \033[37m■\033[93m█ █\033[37m■ \033[93m█ \033[94m█ \033[37m■\033[94m█ █\033[37m■ \033[94m█ \033[95m█ \033[37m■\033[95m█ █\033[37m■ \033[95m█ \033[96m█ \033[37m■\033[96m█ █\033[37m■ \033[96m█\033[0m
\033[31m█ █ █ █ \033[32m█ █ █ █ \033[33m█ █ █ █ \033[34m█ █ █ █ \033[35m█ █ █ █ \033[36m█ █ █ █\033[0m
\033[31m█ █ █ \033[32m█ █ █ \033[33m█ █ █ \033[34m█ █ █ \033[35m█ █ █ \033[36m█ █ █\033[0m
\033[31m=■= \033[32m=■= \033[33m=■= \033[34m=■= \033[35m=■= \033[36m=■=\033[0m\n"
exit 0

22
scripts/colorscripts/panes Executable file
View File

@ -0,0 +1,22 @@
#!/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
$f0████$d▄$t $f1████$d▄$t $f2████$d▄$t $f3████$d▄$t $f4████$d▄$t $f5████$d▄$t $f6████$d▄$t $f7████$d▄$t
$f0████$d█$t $f1████$d█$t $f2████$d█$t $f3████$d█$t $f4████$d█$t $f5████$d█$t $f6████$d█$t $f7████$d█$t
$f0████$d█$t $f1████$d█$t $f2████$d█$t $f3████$d█$t $f4████$d█$t $f5████$d█$t $f6████$d█$t $f7████$d█$t
$d$f0 ▀▀▀▀ $d$f1 ▀▀▀▀ $f2▀▀▀▀ $f3▀▀▀▀ $f4▀▀▀▀ $f5▀▀▀▀ $f6▀▀▀▀ $f7▀▀▀▀$t
EOF

142
scripts/colorscripts/pipes Executable file
View File

@ -0,0 +1,142 @@
#!/usr/bin/env bash
# pipes.sh: Animated pipes terminal screensaver.
# Copyleft (ↄ) 2015 - Acidhub <acidhub@craft.net.br>
# 2015 - Pipeseroni - http://github.com/pipeseroni
# 2014 - Yu-Jie Lin <livibetter@gmail.com>
# ???? - Mathew Simpson
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
VERSION=1.2
M=32768
p=3
f=75 s=13 r=2000 t=0
w=$(tput cols) h=$(tput lines)
# ab -> idx = a*4 + b
# 0: up, 1: right, 2: down, 3: left
# 00 means going up , then going up -> ┃
# 12 means going right, then going down -> ┓
sets=(
"┃┏ ┓┛━┓ ┗┃┛┗ ┏━" # -t 0 "default"
"│╭ ╮╯─╮ ╰│╯╰ ╭─" # -t 1 "round"
"│┌ ┐┘─┐ └│┘└ ┌─" # -t 2 "weak"
"║╔ ╗╝═╗ ╚║╝╚ ╔═" # -t 3 "double"
"|+ ++-+ +|++ +-" # -t 4 "add/sub"
"|/ \/-\ \|/\ /-" # -t 5 "It' something"
".. .... .... .." # -t 6 "dots"
".o oo.o o.oo o." # -t 7 "dot-O"
"-\ /\|/ /-\/ \|" # -t 8 "railway"
"▓≡▓≡≡▓≡ ≡▓≡≡▓≡▓" # -t 9 "blocks"
)
v=()
RNDSTART=0
BOLD=1
NOCOLOR=0
OPTIND=1
while getopts "p:t:f:s:r:RBChv" arg; do
case $arg in
p) ((p=(OPTARG>0)?OPTARG:p));;
t)
if [[ "$OPTARG" = c???????????????? ]]; then
V+=(${#sets[@]})
sets+=("${OPTARG:1}")
else
((OPTARG>=0 && OPTARG<${#sets[@]})) && V+=($OPTARG)
fi
;;
f) ((f=(OPTARG>19 && OPTARG<101)?OPTARG:f));;
s) ((s=(OPTARG>4 && OPTARG<16 )?OPTARG:s));;
r) ((r=(OPTARG>=0)?OPTARG:r));;
R) RNDSTART=1;;
B) BOLD=0;;
C) NOCOLOR=1;;
h) echo -e "Usage: $(basename $0) [OPTION]..."
echo -e "Animated pipes terminal screensaver.\n"
echo -e " -p [1-?]\tnumber of pipes (D=3)."
echo -e " -t [0-$((${#sets[@]} - 1))]\ttype of pipes, can be used more than once (D=0)."
echo -e " -t c[16 chars]\tcustom type of pipes."
echo -e " -f [20-100]\tframerate (D=75)."
echo -e " -s [5-15]\tprobability of a straight fitting (D=13)."
echo -e " -r LIMIT\treset after x characters, 0 if no limit (D=2000)."
echo -e " -R \t\trandom starting point."
echo -e " -B \t\tno bold effect."
echo -e " -C \t\tno color."
echo -e " -h\t\thelp (this screen)."
echo -e " -v\t\tprint version number.\n"
exit 0;;
v) echo "$(basename -- "$0") $VERSION"
exit 0
esac
done
# set default values if not by options
((${#V[@]})) || V=(0)
cleanup() {
# clear up standard input
read -t 0.001 && cat </dev/stdin>/dev/null
# terminal has no smcup and rmcup capabilities
((FORCE_RESET)) && reset && exit 0
tput rmcup
tput cnorm
stty echo
((NOCOLOR)) && echo -ne '\e[0m'
exit 0
}
trap cleanup HUP TERM
trap 'break 2' INT
for (( i=1; i<=p; i++ )); do
c[i]=$((i%8)) n[i]=0 l[i]=0
((x[i]=RNDSTART==1?RANDOM*w/32768:w/2))
((y[i]=RNDSTART==1?RANDOM*h/32768:h/2))
v[i]=${V[${#V[@]} * RANDOM / M]}
done
stty -echo
tput smcup || FORCE_RESET=1
tput civis
tput clear
# any key press exits the loop and this script
while REPLY=; read -t 0.0$((1000/f)) -n 1; [[ -z $REPLY ]] ; do
for (( i=1; i<=p; i++ )); do
# New position:
((${l[i]}%2)) && ((x[i]+=-${l[i]}+2,1)) || ((y[i]+=${l[i]}-1))
# Loop on edges (change color on loop):
((${x[i]}>w||${x[i]}<0||${y[i]}>h||${y[i]}<0)) && ((c[i]=RANDOM%8, v[i]=V[${#V[@]}*RANDOM/M]))
((x[i]=(x[i]+w)%w))
((y[i]=(y[i]+h)%h))
# New random direction:
((n[i]=RANDOM%s-1))
((n[i]=(${n[i]}>1||${n[i]}==0)?${l[i]}:${l[i]}+${n[i]}))
((n[i]=(${n[i]}<0)?3:${n[i]}%4))
# Print:
tput cup ${y[i]} ${x[i]}
echo -ne "\e[${BOLD}m"
[[ $NOCOLOR == 0 ]] && echo -ne "\e[3${c[i]}m"
echo -n "${sets[v[i]]:l[i]*4+n[i]:1}"
l[i]=${n[i]}
done
((r>0 && t*p>=r)) && tput reset && tput civis && t=0 || ((t++))
done
cleanup

187
scripts/colorscripts/pipes3d Executable file
View File

@ -0,0 +1,187 @@
#!/usr/bin/env bash
# Animated pipes.sh terminal screensaver at an angle.
# Copyright (C) 2013 by Yu-Jie Lin
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#
# Blog: http://blog.yjl.im/2013/07/pipesxsh-animated-pipessh-terminal.html
# Gist: https://gist.github.com/livibetter/5974905
# Screenshot: https://lh3.googleusercontent.com/-UaCta_DtgrQ/Ud6dqIgcfmI/AAAAAAAAE_8/VXPac0OpULU/s800/pipesX.sh.gif
# Screenshot: https://lh6.googleusercontent.com/-yBety-A8J_c/Ud6dk10sjBI/AAAAAAAAE_0/S98aRRV8t0s/s800/pipesX.sh%25202013-07-11--19%253A51%253A05.png
# Screencast: http://youtu.be/dITTlFPYVPA
W=$(tput cols) H=$(tput lines)
# maximal random value + 1
M=32768
SETS=('╱╲' '/\')
COLORS=(31 32 33 34 35 36 37)
# default values
N=1
T=0
I=0.05
P=25
R=$((W * H / 4))
HELP="Usage: $(basename $0) [OPTIONS]
Animated pipes.sh terminal screensaver at an angle.
Options:
-n [1-] number of pipes. (Default: $N)
-t [0-$((${#SETS[@]} - 1))] type of pipes. (Default: $T)
-i [float] piping interval or maze generation interval. (Default: $I)
-P [0-100] probability of a turning pipe or of \\ in maze generation. (Default: $P)
-r [LIMIT] reset after x characters, 0 if no limit. (Default: $R)
-R random starting point.
-C no color.
-X maze generation.
-h this help message.
"
while getopts "n:t:i:P:r:RCXh" arg; do
case $arg in
n)
((N = OPTARG > 0 ? OPTARG : N))
;;
t)
((T = (OPTARG >= 0 && OPTARG < ${#SETS[@]}) ? OPTARG : T))
;;
i)
I=$OPTARG
;;
P)
((P = (OPTARG >= 0 && OPTARG <= 100) ? OPTARG : P))
;;
r)
((R = OPTARG >= 0 ? OPTARG : R))
;;
R)
RNDSTART=1
;;
C)
NOCOLOR=1
;;
X)
MAZE=1
;;
h)
echo -e "$HELP"
exit 0
;;
esac
done
do_exit() {
# Show cursor and echo stdin
echo -ne "\e[?25h"
stty echo
clear
exit 0
}
trap do_exit INT TERM
# No echo stdin and hide the cursor
stty -echo
echo -ne "\e[?25l"
# maze geneartion
while [[ $MAZE ]] && clear; do
[[ $NOCOLOR ]] || echo -ne "\e[1;${COLORS[${#COLORS[@]} * RANDOM / M]}m"
for ((i = 0; i < W * H; i++ )); do
echo -ne ${SETS[T]:100 * RANDOM / M < P:1}
done
read -t $I -n 1 && [[ $REPLY =~ q|Q ]] && do_exit
done
# initialze values
for ((n = 0; n < N; n++)); do
((X[n] = RNDSTART ? (W + 2) * RANDOM / M : W / 2))
((Y[n] = RNDSTART ? (H + 2) * RANDOM / M : H / 2))
D[n]=$((4 * RANDOM / M))
C[n]=${COLORS[${#COLORS[@]} * RANDOM / M]}
done
clear
while :; do
for ((n = 0; n < N; n++, CC = 0)); do
x=${X[n]} y=${Y[n]}
d=${D[n]} c=${C[n]}
# calculate new direction `d`
# 1 0
# \/ 4 directions 0 to 3
# /\
# 2 3
# valid directions: d: dd', d' is the new direction
# d
# 0: / 00 \ 01 03
# / / /\
# 1: / 10 \ 11 12
# \ \ /\
# 2: \/ 21 / 22 / 23
# / \
# 3: \/ 30 \ 32 \ 33
# / \
((d = (100 * RANDOM / M) < P ? ((d + 1) + 2 * (RANDOM % 2)) % 4 : d))
((e = (d + 1) % 4))
# calculate new position
# d' x' y'
# 0: x+1 y-1
# 1: x-1 y-1
# 2: x-1 y+1
# 3: x+1 y+1
((xn = e < 2 ? x + 1 : x - 1))
((yn = d < 2 ? y - 1 : y + 1))
# adjust position and change color?
((d < 2 && y == 0)) && ((yn--, CC=1))
((e > 1 && x == 0)) && ((xn--, CC=1))
((d > 1 && y == H)) && ((yn++, CC=1))
((e < 2 && x == W)) && ((xn++, CC=1))
((CC)) && c=${COLORS[${#COLORS[@]} * RANDOM / M]}
# warp pipe
((xn = (xn + W + 1) % (W + 1)))
((yn = (yn + H + 1) % (H + 1)))
# calculate position in terminal
# d' xt yt
# 0: x' y'+1
# 1: x'+1 y'+1
# 2: x'+1 y'
# 3: x' y'
((xt = e < 2 ? xn : xn + 1))
((yt = d < 2 ? yn + 1 : yn))
echo -ne "\e[${yt};${xt}H"
[[ $NOCOLOR ]] || echo -ne "\e[1;${c}m"
echo -n "${SETS[T]:d%2:1}"
X[n]=$xn Y[n]=$yn
D[n]=$d C[n]=$c
done
read -t $I -n 1 && [[ $REPLY =~ q|Q ]] && do_exit
((R)) && ((r += N, r >= R)) && r=0 && clear
done
do_exit

18
scripts/colorscripts/railcars Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
# File: rails.textart
# Description: {{des}}
# Author: Pfh
# └─ https://crunchbang.org/forums/profile.php?id=9103
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/icon/rails.textart
# Start
echo -e "\n\033[31m╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗ \033[32m╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗ \033[33m╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗\033[0m
\033[1;31m╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝ \033[32m╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝ \033[33m╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝\033[0m
■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■
\033[34m╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗ \033[35m╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗ \033[36m╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗\033[0m
\033[1;34m╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝ \033[35m╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝ \033[36m╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝\033[0m\n"
exit 0

28
scripts/colorscripts/rally-x Executable file
View File

@ -0,0 +1,28 @@
#!/bin/sh
# File: rally-x.textart
# Description: {{des}}
# Author: Pfh
# └─ https://crunchbang.org/forums/profile.php?id=9103
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/icon/rally-x.textart
# Start
echo -e "\n \033[33m▄ \033[31m▄▄ \033[32m▄▄ \033[34m▄▄ \033[35m▄▄ \033[36m▄▄\033[0m
\033[33m███▄▄ \033[31m██▬██▬██ \033[32m██▬██▬██ \033[34m██▬██▬██ \033[35m██▬██▬██ \033[36m██▬██▬██\033[0m
\033[33m█████▀▀ \033[31m████ \033[32m████ \033[34m████ \033[35m████ \033[36m████ \033[0m
\033[33m█▀▀ \033[31m▄██ ██▄ \033[32m▄██ ██▄ \033[34m▄██ ██▄ \033[35m▄██ ██▄ \033[36m▄██ ██▄\033[0m
\033[33m█ \033[31m▄▄▄▀█ █▀▄▄▄ \033[32m▄▄▄▀█ █▀▄▄▄ \033[34m▄▄▄▀█ █▀▄▄▄ \033[35m▄▄▄▀█ █▀▄▄▄ \033[36m▄▄▄▀█ █▀▄▄▄\033[0m
\033[33m▄█▄ \033[31m███▀████▀███ \033[32m███▀████▀███ \033[34m███▀████▀███ \033[35m███▀████▀███ \033[36m███▀████▀███\033[0m
\033[31m▀ ▀ \033[32m▀ ▀ \033[34m▀ ▀ \033[35m▀ ▀ \033[36m▀ ▀\033[0m
\033[93m▄ \033[91m▄▄ \033[92m▄▄ \033[94m▄▄ \033[95m▄▄ \033[96m▄▄\033[0m
\033[93m███▄▄ \033[91m██▬██▬██ \033[92m██▬██▬██ \033[94m██▬██▬██ \033[95m██▬██▬██ \033[96m██▬██▬██\033[0m
\033[93m█████▀▀ \033[91m████ \033[92m████ \033[94m████ \033[95m████ \033[96m████ \033[0m
\033[93m█▀▀ \033[91m▄██ ██▄ \033[92m▄██ ██▄ \033[94m▄██ ██▄ \033[95m▄██ ██▄ \033[96m▄██ ██▄\033[0m
\033[93m█ \033[91m▄▄▄▀█ █▀▄▄▄ \033[92m▄▄▄▀█ █▀▄▄▄ \033[94m▄▄▄▀█ █▀▄▄▄ \033[95m▄▄▄▀█ █▀▄▄▄ \033[96m▄▄▄▀█ █▀▄▄▄\033[0m
\033[93m▄█▄ \033[91m███▀████▀███ \033[92m███▀████▀███ \033[94m███▀████▀███ \033[95m███▀████▀███ \033[96m███▀████▀███\033[0m
\033[91m▀ ▀ \033[92m▀ ▀ \033[94m▀ ▀ \033[95m▀ ▀ \033[96m▀ ▀\033[0m\n"
exit 0

16
scripts/colorscripts/square Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
# File: square.textart
# Description: {{des}}
# Author: Muzieca
# └─ https://crunchbang.org/forums/profile.php?id=6838
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/icon/square.textart
# Start
echo -e "\n\033[31m▀ █ \033[91m█ ▀ \033[32m▀ █ \033[92m█ ▀ \033[33m▀ █ \033[93m█ ▀ \033[34m▀ █ \033[94m█ ▀ \033[35m▀ █ \033[95m█ ▀ \033[36m▀ █ \033[96m█ ▀\033[0m
\033[31m██ \033[91m██ \033[32m██ \033[92m██ \033[33m██ \033[93m██ \033[34m██ \033[94m██ \033[35m██ \033[95m██ \033[36m██ \033[96m██\033[0m
\033[31m▄ █ \033[91m█ ▄ \033[32m▄ █ \033[92m█ ▄ \033[33m▄ █ \033[93m█ ▄ \033[34m▄ █ \033[94m█ ▄ \033[35m▄ █ \033[95m█ ▄ \033[36m▄ █ \033[96m█ ▄\033[0m\n"
exit 0

24
scripts/colorscripts/tanks Executable file
View File

@ -0,0 +1,24 @@
#!/bin/sh
# File: tanks.textart
# Description: {{des}}
# Author: Muzieca
# └─ https://crunchbang.org/forums/profile.php?id=6838
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/icon/tanks.textart
# Start
echo -e "\n \033[31m█ \033[32m█ \033[33m█ \033[34m█ \033[35m█ \033[36m█\033[0m
\033[31m▄▄ █ ▄▄ \033[32m▄▄ █ ▄▄ \033[33m▄▄ █ ▄▄ \033[34m▄▄ █ ▄▄ \033[35m▄▄ █ ▄▄ \033[36m▄▄ █ ▄▄\033[0m
\033[31m███▀▀▀███ \033[32m███▀▀▀███ \033[33m███▀▀▀███ \033[34m███▀▀▀███ \033[35m███▀▀▀███ \033[36m███▀▀▀███\033[0m
\033[31m███ █ ███ \033[32m███ █ ███ \033[33m███ █ ███ \033[34m███ █ ███ \033[35m███ █ ███ \033[36m███ █ ███\033[0m
\033[31m██ ▀▀▀ ██ \033[32m██ ▀▀▀ ██ \033[33m██ ▀▀▀ ██ \033[34m██ ▀▀▀ ██ \033[35m██ ▀▀▀ ██ \033[36m██ ▀▀▀ ██\033[0m
\033[91m█ \033[92m█ \033[93m█ \033[94m█ \033[95m█ \033[96m█\033[0m
\033[91m▄▄ █ ▄▄ \033[92m▄▄ █ ▄▄ \033[93m▄▄ █ ▄▄ \033[94m▄▄ █ ▄▄ \033[95m▄▄ █ ▄▄ \033[96m▄▄ █ ▄▄\033[0m
\033[91m███▀▀▀███ \033[92m███▀▀▀███ \033[93m███▀▀▀███ \033[94m███▀▀▀███ \033[95m███▀▀▀███ \033[96m███▀▀▀███\033[0m
\033[91m███ █ ███ \033[92m███ █ ███ \033[93m███ █ ███ \033[94m███ █ ███ \033[95m███ █ ███ \033[96m███ █ ███\033[0m
\033[91m██ ▀▀▀ ██ \033[92m██ ▀▀▀ ██ \033[93m██ ▀▀▀ ██ \033[94m██ ▀▀▀ ██ \033[95m██ ▀▀▀ ██ \033[96m██ ▀▀▀ ██\033[0m\n"
exit 0

26
scripts/colorscripts/tiefighter Executable file
View File

@ -0,0 +1,26 @@
#!/bin/sh
# File: tiefighter2.textart
# Description: {{des}}
# Author: Pfh
# └─ https://crunchbang.org/forums/profile.php?id=9103
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/icon/tiefighter2.textart
# Start
echo -e "\n\033[31m█ █ \033[32m█ █ \033[33m█ █ \033[34m█ █ \033[35m█ █ \033[36m█ █\033[0m
\033[31m█ ▄▄▄ █ \033[32m█ ▄▄▄ █ \033[33m█ ▄▄▄ █ \033[34m█ ▄▄▄ █ \033[35m█ ▄▄▄ █ \033[36m█ ▄▄▄ █\033[0m
\033[31m█▄▄██▀██▄▄█ \033[32m█▄▄██▀██▄▄█ \033[33m█▄▄██▀██▄▄█ \033[34m█▄▄██▀██▄▄█ \033[35m█▄▄██▀██▄▄█ \033[36m█▄▄██▀██▄▄█\033[0m
\033[31m█▀▀█████▀▀█ \033[32m█▀▀█████▀▀█ \033[33m█▀▀█████▀▀█ \033[34m█▀▀█████▀▀█ \033[35m█▀▀█████▀▀█ \033[36m█▀▀█████▀▀█\033[0m
\033[31m█ ▀▀▀ █ \033[32m█ ▀▀▀ █ \033[33m█ ▀▀▀ █ \033[34m█ ▀▀▀ █ \033[35m█ ▀▀▀ █ \033[36m█ ▀▀▀ █\033[0m
\033[31m█ █ \033[32m█ █ \033[33m█ █ \033[34m█ █ \033[35m█ █ \033[36m█ █\033[0m
\033[91m█ █ \033[92m█ █ \033[93m█ █ \033[94m█ █ \033[95m█ █ \033[96m█ █\033[0m
\033[91m█ ▄▄▄ █ \033[92m█ ▄▄▄ █ \033[93m█ ▄▄▄ █ \033[94m█ ▄▄▄ █ \033[95m█ ▄▄▄ █ \033[96m█ ▄▄▄ █\033[0m
\033[91m█▄▄██▀██▄▄█ \033[92m█▄▄██▀██▄▄█ \033[93m█▄▄██▀██▄▄█ \033[94m█▄▄██▀██▄▄█ \033[95m█▄▄██▀██▄▄█ \033[96m█▄▄██▀██▄▄█\033[0m
\033[91m█▀▀█████▀▀█ \033[92m█▀▀█████▀▀█ \033[93m█▀▀█████▀▀█ \033[94m█▀▀█████▀▀█ \033[95m█▀▀█████▀▀█ \033[96m█▀▀█████▀▀█\033[0m
\033[91m█ ▀▀▀ █ \033[92m█ ▀▀▀ █ \033[93m█ ▀▀▀ █ \033[94m█ ▀▀▀ █ \033[95m█ ▀▀▀ █ \033[96m█ ▀▀▀ █\033[0m
\033[91m█ █ \033[92m█ █ \033[93m█ █ \033[94m█ █ \033[95m█ █ \033[96m█ █\033[0m\n"
exit 0

58
scripts/colorscripts/unix Executable file
View File

@ -0,0 +1,58 @@
#!/bin/sh
# ,_ ,_==▄▂
# , ▂▃▄▄▅▅▅▂▅¾. / /
# ▄▆<´ "»▓▓▓%\ / / / /
# ,▅7" ´>▓▓▓% / / > / >/%
# ▐¶▓ ,»▓▓¾´ /> %/%// / /
# ▓▃▅▅▅▃,,▄▅▅▅Æ// ///>// />/ /
# V║«¼.;→ ║<«.,`=// />//%/% / /
# //╠<´ -²,)(▓~"-╝/¾/ %/>/ />
# / / / ▐% -./▄▃▄▅▐, /7//;//% / /
# / ////`▌▐ %zWv xX▓▇▌//&;% / /
# / / / %//%/¾½´▌▃▄▄▄▄▃▃▐¶/& /
# </ /</%//`▓!%▓%╣WY<Y)y&/`
# / / %/%//</%//i7; ╠N>)VY>7; _ UNIX IS VERY SIMPLE IT JUST NEEDS A
# / /</ //<///<_/%▓ V%W%£)XY _/%‾\_, GENIUS TO UNDERSTAND ITS SIMPLICITY
# / / //%/_,=--^/%/%%\¾%¶%%} /%%%%%%;\,
# %/< /_/ %%%%%;X%%\%%;, _/%%%;,
# / / %%%%%%;, %%l%%;// _/%;, dmr
# / %%%;, <;\-=-/ /
# ;, l
# File: unix.textart
# Description: Jack Tramiel quote from Tech Heroes series
# Author: Sander Focus
# └─ https://sanderfocus.nl
# Converted to shell: #nixers
# └─ @irc.unix.chat
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: Tech Heroes Series
# └─ http://www.sanderfocus.nl/#/portfolio/tech-heroes
# This file from NNB's text art collections
# └─ https://github.com/NNBnh/nnbs-text-art/blob/main/other/unix.textart
# Start
printf " \033[38;5;255m,_ ,_==▄▂\033[0m
\033[38;5;255m, ▂▃▄▄▅▅\033[48;5;240m▅\033[48;5;20m▂\033[48;5;240m▅¾\033[0m. \033[38;5;199m/ \033[38;5;20m/\033[0m
\033[38;5;255m\033[48;5;20m▄\033[0m\033[38;5;255m\033[48;5;199m▆\033[38;5;16m\033[48;5;255m<´ \033[38;5;32m\"\033[38;5;34m»\033[38;5;255m▓▓\033[48;5;32m▓\033[48;5;240m%%\033[0m\ \033[38;5;199m/ \033[38;5;20m/ \033[38;5;45m/ \033[38;5;118m/\033[0m
\033[38;5;255m,\033[38;5;255m\033[48;5;240m▅\033[38;5;16m\033[48;5;255m7\" \033[38;5;160m´\033[38;5;34m>\033[38;5;255m\033[48;5;39m▓▓\033[38;5;199m\033[48;5;255m▓\033[0m\033[38;5;255m%% \033[38;5;20m/ \033[38;5;118m/ \033[38;5;199m> \033[38;5;118m/ \033[38;5;199m>\033[38;5;255m/\033[38;5;45m%%\033[0m
\033[38;5;255m▐\033[48;5;240m\033[38;5;255m¶\033[48;5;240m\033[38;5;255m▓\033[48;5;255m \033[38;5;196m,\033[38;5;34m»\033[48;5;201m\033[38;5;255m▓▓\033[0m\033[38;5;255m¾´\033[0m \033[38;5;199m/\033[38;5;255m> %%\033[38;5;199m/\033[38;5;118m%%\033[38;5;255m/\033[38;5;199m/ \033[38;5;45m/ \033[38;5;199m/\033[0m
\033[38;5;255m\033[48;5;240m▓\033[48;5;255m\033[38;5;16m▃\033[48;5;16m\033[38;5;255m▅▅\033[38;5;16m\033[48;5;255m▅▃,,\033[38;5;32m▄\033[38;5;16m▅\033[38;5;255m\033[48;5;16m▅▅\033[38;5;255m\033[48;5;20mÆ\033[0m\033[38;5;255m\\033[0m\033[38;5;20m/\033[38;5;118m/\033[38;5;255m /\033[38;5;118m/\033[38;5;199m/\033[38;5;255m>\033[38;5;45m// \033[38;5;255m/\033[38;5;118m>\033[38;5;199m/ \033[38;5;20m/\033[0m
\033[48;5;20m\033[38;5;255mV\033[48;5;255m\033[38;5;16m║\033[48;5;20m\033[38;5;255m«\033[0m\033[38;5;255m¼.;\033[48;5;240m\033[38;5;255m→\033[48;5;255m\033[38;5;16m ║\033[0m\033[38;5;255m<«.,\033[48;5;25m\033[38;5;255m\`\033[48;5;240m=\033[0m\033[38;5;20m/\033[38;5;199m/ \033[38;5;255m/>\033[38;5;45m/\033[38;5;118m/\033[38;5;255m%%/\033[38;5;199m%% / \033[38;5;20m/\033[0m
\033[38;5;20m//\033[48;5;255m\033[38;5;16m╠<´ -²,)\033[48;5;16m\033[38;5;255m(▓\033[48;5;255m\033[38;5;16m~\"-\033[38;5;199m╝/\033[0m\033[38;5;255m¾\033[0m\033[38;5;199m/ \033[38;5;118m%%\033[38;5;255m/\033[38;5;118m>\033[38;5;45m/ \033[38;5;118m/\033[38;5;199m>\033[0m
\033[38;5;20m/ / \033[38;5;118m/ \033[48;5;20m\033[38;5;255m▐\033[48;5;240m\033[38;5;16m%%\033[48;5;255m -./▄▃▄\033[48;5;16m\033[38;5;255m▅\033[48;5;255m\033[38;5;16m▐\033[48;5;255m\033[38;5;16m, \033[38;5;199m/\033[48;5;199m\033[38;5;255m7\033[0m\033[38;5;20m/\033[38;5;199m/\033[38;5;255m;/\033[38;5;199m/\033[38;5;118m%% \033[38;5;20m/ /\033[0m
\033[38;5;20m/ \033[38;5;199m/\033[38;5;255m/\033[38;5;45m/\033[38;5;118m/\033[38;5;255m\033[48;5;240m\`\033[48;5;20m\033[38;5;255m▌\033[48;5;20m\033[38;5;255m▐\033[48;5;255m\033[38;5;16m %%z\033[0m\033[38;5;255mWv xX\033[48;5;20m\033[38;5;255m▓\033[48;5;34m\033[38;5;255m▇\033[48;5;199m\033[38;255m▌\033[0m\033[38;5;20m/\033[38;5;199m/\033[38;5;255m&;\033[38;5;20m%% \033[38;5;199m/ \033[38;5;20m/\033[0m
\033[38;5;20m/ / \033[38;5;255m/ \033[38;5;118m%%\033[38;5;199m/\033[38;5;255m/%%/\033[48;5;240m\033[38;5;255m¾\033[48;5;255m\033[38;5;16m½´\033[38;5;255m\033[48;5;16m▌\033[0m\033[38;5;246m▃▄\033[38;5;255m▄▄\033[38;5;246m▄▃▃\033[0m\033[48;5;16m\033[38;5;255m▐\033[38;5;255m\033[48;5;199m¶\033[48;5;20m\033[38;5;255m\\033[0m\033[38;5;20m/\033[0m\033[48;5;255m\033[38;5;240m&\033[0m \033[38;5;20m/\033[0m
\033[38;5;199m<\033[38;5;118m/ \033[38;5;45m/\033[38;5;255m</\033[38;5;118m%%\033[38;5;255m/\033[38;5;45m/\033[38;5;255m\`\033[48;5;16m▓\033[48;5;255m\033[38;5;16m!\033[48;5;240m\033[38;5;255m%%\033[48;5;16m\033[38;5;255m▓\033[0m\033[38;5;255m%%\033[48;5;240m\033[38;5;255m╣\033[48;5;240m\033[38;5;255;╣\033[0m\033[38;5;255mW\033[0m\033[38;5;250mY<Y)\033[48;5;255m\033[38;5;16my&\033[0m\033[38;5;255m/\`\033[48;5;240m\\033[0m
\033[38;5;20m/ \033[38;5;199m/ \033[38;5;199m%%\033[38;5;255m/%%\033[38;5;118m/\033[38;5;45m/\033[38;5;255m<\033[38;5;118m/\033[38;5;199m%%\033[38;5;45m/\033[38;5;20m/\033[48;5;240m\033[38;5;255m\\033[38;5;16m\033[48;5;255mi7; ╠N\033[0m\033[38;5;246m>\033[38;5;255m)VY>\033[48;5;240m\033[38;5;255m7\033[0m\033[38;5;255m; \033[38;5;255m\033[48;5;240m\\033[0m\033[38;5;255m_\033[0m \033[38;5;255mUNIX IS VERY SIMPLE \033[38;5;45mIT JUST NEEDS A\033[0m
\033[38;5;20m/ \033[38;5;255m/\033[38;5;118m<\033[38;5;255m/ \033[38;5;45m/\033[38;5;255m/<\033[38;5;199m/\033[38;5;20m/\033[38;5;199m/\033[38;5;20m<\033[38;5;255m_/%%\\033[38;5;255m\033[48;5;16m▓\033[48;5;255m\033[38;5;16m V\033[0m\033[38;5;255m%%\033[48;5;255m\033[38;5;16mW\033[0m\033[38;5;255m%%£)XY\033[0m \033[38;5;240m_/%%\033[38;5;255m‾\_,\033[0m \033[38;5;45mGENIUS TO UNDERSTAND ITS SIMPLICITY\033[38;5;255m\033[0m
\033[38;5;199m/ \033[38;5;255m/ \033[38;5;199m/\033[38;5;255m/\033[38;5;118m%%\033[38;5;199m/\033[48;5;240m\033[38;5;255m_,=-\033[48;5;20m-^\033[0m\033[38;5;255m/%%/%%%%\033[48;5;255m\033[38;5;16m\¾%%\033[0m\033[38;5;255m¶\033[0m\033[48;5;255m\033[38;5;16m%%\033[0m\033[38;5;255m%%}\033[0m \033[38;5;240m/%%%%%%\033[38;5;20m%%%%\033[38;5;240m%%;\,\033[0m
\033[38;5;45m%%\033[38;5;20m/\033[38;5;199m< \033[38;5;20m/\033[48;5;20m\033[38;5;255m_/\033[48;5;240m \033[0m\033[38;5;255m%%%%%%\033[38;5;240m%%%%\033[38;5;20m;\033[38;5;255mX\033[38;5;240m%%\033[38;5;20m%%\033[38;5;255m\%%\033[38;5;240m%%;, _/%%%%%%;\033[38;5;20m,\033[38;5;240m \\033[0m
\033[38;5;118m/ \033[38;5;20m/ \033[38;5;240m%%\033[38;5;20m%%%%%%%%\033[38;5;240m%%;, \033[38;5;255m\\033[38;5;240m%%\033[38;5;20m%%\033[38;5;255ml\033[38;5;240m%%%%;// _/\033[38;5;20m%%;,\033[0m \033[38;5;234mdmr\033[0m
\033[38;5;20m/ \033[38;5;240m%%\033[38;5;20m%%%%;,\033[0m \033[38;5;255m<\033[38;5;20m;\033[38;5;240m\-=-/ /\033[0m
\033[38;5;20m;,\033[0m \033[38;5;240ml\033[0m\n"
exit 0

15
scripts/colorscripts/zwaves Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
# File: zwaves.textart
# Description: {{des}}
# Author: Pfh
# └─ https://crunchbang.org/forums/profile.php?id=9103
# Converted to textart: NNB
# └─ https://github.com/NNBnh
# URL: https://github.com/NNBnh/nnbs-text-art/blob/main/color/icon/zwaves.textart
# Start
printf "\033[31m▀■▄ \033[32m▀■▄ \033[33m▀■▄ \033[34m▀■▄ \033[35m▀■▄ \033[36m▀■▄\033[0m
\033[91m▀■▄ \033[92m▀■▄ \033[93m▀■▄ \033[94m▀■▄ \033[95m▀■▄ \033[96m▀■▄\033[0m\n"
exit 0