Dotfiles V.1.1.5

Updated Neovim Plugins as well as cleaned up aerospace config and
sketbar config and added fastfetch config
This commit is contained in:
JirR02 2025-06-11 22:16:38 +02:00
parent 1f4666f417
commit af9d88c05f
100 changed files with 2045 additions and 3328 deletions

View File

@ -7,16 +7,16 @@
# You can use it to add commands that run after login to macOS user session.
# 'start-at-login' needs to be 'true' for 'after-login-command' to work
# Available commands: https://nikitabobko.github.io/AeroSpace/commands
after-login-command = []
after-login-command = ['exec-and-forget sketchybar --update']
# You can use it to add commands that run after AeroSpace startup.
# 'after-startup-command' is run after 'after-login-command'
# Available commands : https://nikitabobko.github.io/AeroSpace/commands
after-startup-command = ['exec-and-forget sketchybar']
after-startup-command = ['exec-and-forget bash -c "sleep 2 && sketchybar --trigger aerospace_workspace_change FOCUSED_WORKSPACE=$(aerospace list-workspaces --focused)"']
# Intergration with sketchybar
exec-on-workspace-change = ['/bin/bash', '-c',
'sketchybar --trigger aerospace_workspace_change FOCUSED_WORKSPACE=$AEROSPACE_FOCUSED_WORKSPACE'
'sketchybar --update && sketchybar --trigger aerospace_workspace_change FOCUSED_WORKSPACE=$AEROSPACE_FOCUSED_WORKSPACE'
]
# Start AeroSpace at login
@ -61,7 +61,7 @@ inner.horizontal = 10
inner.vertical = 10
outer.left = 10
outer.bottom = 10
outer.top = [{ monitor.dell = 40 }, { monitor.2 = 40 }, { monitor.3 = 40}, 10]
outer.top = [{ monitor.dell = 50 }, { monitor.2 = 50 }, { monitor.3 = 50}, 10]
outer.right = 10
# 'main' binding mode declaration
@ -93,16 +93,16 @@ ctrl-comma= 'layout tiles horizontal vertical'
ctrl-period= 'layout accordion horizontal vertical'
# See: https://nikitabobko.github.io/AeroSpace/commands#focus
ctrl-s = 'focus left'
ctrl-d = 'focus down'
ctrl-f = 'focus up'
ctrl-g = 'focus right'
ctrl-q = 'focus left'
ctrl-w = 'focus down'
ctrl-e = 'focus up'
ctrl-t = 'focus right'
# See: https://nikitabobko.github.io/AeroSpace/commands#move
ctrl-shift-s = 'move left'
ctrl-shift-d = 'move down'
ctrl-shift-f = 'move up'
ctrl-shift-g = 'move right'
ctrl-shift-q = 'move left'
ctrl-shift-w = 'move down'
ctrl-shift-e = 'move up'
ctrl-shift-t = 'move right'
# See: https://nikitabobko.github.io/AeroSpace/commands#workspace
ctrl-1 = 'workspace '
@ -146,3 +146,29 @@ ctrl-shift-d = ['join-with down', 'mode main']
ctrl-shift-f = ['join-with up', 'mode main']
ctrl-shift-g = ['join-with right', 'mode main']
# Window Rules
[[on-window-detected]]
if.app-id = 'app.zen-browser.zen'
if.window-title-regex-substring = 'Picture-in-Picture'
run = 'layout floating'
[[on-window-detected]]
if.app-id = 'app.zen-browser.zen'
run = 'move-node-to-workspace '
[[on-window-detected]]
if.app-id = 'com.github.wez.wezterm'
run = 'move-node-to-workspace '
[[on-window-detected]]
if.app-id = 'info.sioyek.sioyek'
run = 'move-node-to-workspace '
[[on-window-detected]]
if.app-id = 'NULL-APP-BUNDLE-ID'
run = 'move-node-to-workspace '
[[on-window-detected]]
if.app-id = 'com.spotify.client'
run = 'move-node-to-workspace '

View File

@ -1,26 +0,0 @@
#!/usr/bin/env 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;90m' ' 31m' '1;91m' ' 32m' \
'1;92m' ' 33m' '1;93m' ' 34m' '1;94m' ' 35m' '1;95m' \
' 36m' '1;96m' ' 37m' '1;97m';
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

View File

@ -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=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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m" whitefbright="${esc}[97m"
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}${redfbright} ██████ ${reset} ${boldon}${greenfbright}██████ ${reset}${boldon}${yellowfbright} ██████${reset} ${boldon}${bluefbright}██████ ${reset} ${boldon}${purplefbright} ██████${reset} ${boldon}${cyanfbright} ███████${reset}
${boldon}${redfbright} ████████${reset} ${boldon}${greenfbright}██ ██ ${reset}${boldon}${yellowfbright}██ ${reset} ${boldon}${bluefbright}██ ██${reset} ${boldon}${purplefbright}██████ ${reset} ${boldon}${cyanfbright}█████████${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

View File

@ -1,40 +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"
redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m";
cyanfbright="${esc}[96m"; purplefbright="${esc}[95m"
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}${redfbright} ■ ${boldon}${greenfbright} ■ ${boldon}${yellowfbright} ■ ${boldon}${bluefbright} ■ ${boldon}${purplefbright} ■ ${boldon}${cyanfbright} ■ ${reset}
${boldon}${redfbright} ■■■ ${boldon}${greenfbright} ■■■ ${boldon}${yellowfbright} ■■■ ${boldon}${bluefbright} ■■■ ${boldon}${purplefbright} ■■■ ${boldon}${cyanfbright} ■■■ ${reset}
${boldon}${redfbright} ■■■■■ ${boldon}${greenfbright} ■■■■■ ${boldon}${yellowfbright} ■■■■■ ${boldon}${bluefbright} ■■■■■ ${boldon}${purplefbright} ■■■■■ ${boldon}${cyanfbright} ■■■■■ ${reset}
${redf} ■( )■ ${greenf} ■( )■ ${yellowf} ■( )■ ${bluef} ■( )■ ${purplef} ■( )■ ${cyanf} ■( )■ ${reset}
${redf} ■■■■ ■■■■ ${greenf} ■■■■ ■■■■ ${yellowf} ■■■■ ■■■■ ${bluef} ■■■■ ■■■■ ${purplef} ■■■■ ■■■■ ${cyanf} ■■■■ ■■■■ ${reset}
${redf} ■■ ■■ ${greenf} ■■ ■■ ${yellowf} ■■ ■■ ${bluef} ■■ ■■ ${purplef} ■■ ■■ ${cyanf} ■■ ■■ ${reset}
EOF

View File

@ -1,16 +0,0 @@
#!/usr/bin/env bash
echo "This should be a smooth gradient"
echo ""
awk 'BEGIN{
s="/\\/\\/\\/\\/\\"; s=s s s s s s s s;
for (colnum = 0; colnum<77; colnum++) {
r = 255-(colnum*255/76);
g = (colnum*510/76);
b = (colnum*255/76);
if (g>255) g = 510-g;
printf "\033[48;2;%d;%d;%dm", r,g,b;
printf "\033[38;2;%d;%d;%dm", 255-r,255-g,255-b;
printf "%s\033[0m", substr(s,colnum+1,1);
}
printf "\n";
}'

View File

@ -1,26 +0,0 @@
#!/usr/bin/env 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
for i in {0..7}; do
printf -v fbright$i %b "\e[9${i}m"
done
bld=$'\e[1m'
rst=$'\e[0m'
inv=$'\e[7m'
cat << EOF
$f1▬▬▬▬▬ $f2▬▬▬▬▬ $f3▬▬▬▬▬ $f4▬▬▬▬▬ $f5▬▬▬▬▬ $f6▬▬▬▬▬
$bld$fbright1▬▬▬▬▬ $fbright2▬▬▬▬▬ $fbright3▬▬▬▬▬ $fbright4▬▬▬▬▬ $fbright5▬▬▬▬▬ $fbright6▬▬▬▬▬
$rst
EOF

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
pcs() { for i in {0..7}; do echo -en "\e[${1}$((30+$i))m \u2588\u2588 \e[0m"; done; }
pcsbright() { for i in {0..7}; do echo -en "\e[${1}$((90+$i))m \u2588\u2588 \e[0m"; done; }
printf "\n%s\n%s\n\n" "$(pcs)" "$(pcsbright '1;')"

View File

@ -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: 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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}${redfbright}■■${reset} ${greenf}■■■■${reset}${boldon}${greenfbright}■■${reset} ${yellowf}■■■■${reset}${boldon}${yellowfbright}■■${reset} ${bluef}■■■■${reset}${boldon}${purplefbright}■■${reset} ${purplef}■■■■${reset}${boldon}${bluefbright}■■${reset} ${cyanf}■■■■${reset}${boldon}${cyanfbright}■■${reset}
${redf}■■${reset}${boldon}${greenfbright}■■${reset}${boldon}${redfbright}■■${reset} ${greenf}■■${reset}${boldon}${yellowfbright}■■${reset}${boldon}${greenfbright}■■${reset} ${yellowf}■■${reset}${boldon}${bluefbright}■■${reset}${boldon}${yellowfbright}■■${reset} ${bluef}■■${reset}${purplef}■■${reset}${boldon}${purplefbright}■■${reset} ${purplef}■■${reset}${boldon}${cyanfbright}■■${reset}${boldon}${bluefbright}■■${reset} ${cyanf}■■${reset}${boldon}${purplefbright}■■${reset}${boldon}${cyanfbright}■■${reset}
${greenf}■■${reset}${boldon}${greenfbright}■■${reset}${boldon}${redfbright}■■${reset} ${yellowf}■■${reset}${boldon}${yellowfbright}■■${reset}${boldon}${greenfbright}■■${reset} ${bluef}■■${reset}${boldon}${bluefbright}■■${reset}${boldon}${yellowfbright}■■${reset} ${boldon}${cyanfbright}■■${reset}${purplef}■■${reset}${boldon}${purplefbright}■■${reset} ${boldon}${purplefbright}■■${reset}${boldon}${cyanfbright}■■${reset}${boldon}${bluefbright}■■${reset} ${bluef}■■${reset}${boldon}${purplefbright}■■${reset}${boldon}${cyanfbright}■■${reset}
${greenf}■■${reset}${boldon}${greenfbright}■■${reset}${boldon}${redfbright}■■${reset} ${yellowf}■■${reset}${boldon}${yellowfbright}■■${reset}${boldon}${greenfbright}■■${reset} ${bluef}■■${reset}${boldon}${bluefbright}■■${reset}${boldon}${yellowfbright}■■${reset} ${boldon}${cyanfbright}■■${reset}${purplef}■■${reset}${boldon}${purplefbright}■■${reset} ${boldon}${purplefbright}■■${reset}${boldon}${cyanfbright}■■${reset}${boldon}${bluefbright}■■${reset} ${bluef}■■${reset}${boldon}${purplefbright}■■${reset}${boldon}${cyanfbright}■■${reset}
${redf}■■■■${reset}${boldon}${redfbright}■■${reset} ${greenf}■■■■${reset}${boldon}${greenfbright}■■${reset} ${yellowf}■■■■${reset}${boldon}${yellowfbright}■■${reset} ${bluef}■■■■${reset}${boldon}${purplefbright}■■${reset} ${purplef}■■■■${reset}${boldon}${bluefbright}■■${reset} ${cyanf}■■■■${reset}${boldon}${cyanfbright}■■${reset}
${redf}■■${reset}${boldon}${greenfbright}■■${reset}${boldon}${redfbright}■■${reset} ${greenf}■■${reset}${boldon}${yellowfbright}■■${reset}${boldon}${greenfbright}■■${reset} ${yellowf}■■${reset}${boldon}${bluefbright}■■${reset}${boldon}${yellowfbright}■■${reset} ${bluef}■■${reset}${purplef}■■${reset}${boldon}${purplefbright}■■${reset} ${purplef}■■${reset}${boldon}${cyanfbright}■■${reset}${boldon}${bluefbright}■■${reset} ${cyanf}■■${reset}${boldon}${purplefbright}■■${reset}${boldon}${cyanfbright}■■${reset}
${greenf}■■${reset}${boldon}${greenfbright}■■${reset}${boldon}${redfbright}■■${reset} ${yellowf}■■${reset}${boldon}${yellowfbright}■■${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}${greenfbright}■■${reset}${boldon}${redfbright}■■${reset} ${yellowf}■■${reset}${boldon}${yellowfbright}■■${reset}${boldon}${greenfbright}■■${reset} ${bluef}■■${reset}${boldon}${bluefbright}■■${reset}${boldon}${yellowfbright}■■${reset} ${boldon}${cyanfbright}■■${reset}${purplef}■■${reset}${boldon}${purplefbright}■■${reset} ${boldon}${purplefbright}■■${reset}${boldon}${cyanfbright}■■${reset}${boldon}${bluefbright}■■${reset} ${bluef}■■${reset}${boldon}${purplefbright}■■${reset}${boldon}${cyanfbright}■■${reset}
${redf}■■■■${reset}${boldon}${redfbright}■■${reset} ${greenf}■■■■${reset}${boldon}${greenfbright}■■${reset} ${yellowf}■■■■${reset}${boldon}${yellowfbright}■■${reset} ${bluef}■■■■${reset}${boldon}${purplefbright}■■${reset} ${purplef}■■■■${reset}${boldon}${bluefbright}■■${reset} ${cyanf}■■■■${reset}${boldon}${cyanfbright}■■${reset}
${redf}■■${reset}${boldon}${greenfbright}■■${reset}${boldon}${redfbright}■■${reset} ${greenf}■■${reset}${boldon}${yellowfbright}■■${reset}${boldon}${greenfbright}■■${reset} ${yellowf}■■${reset}${boldon}${bluefbright}■■${reset}${boldon}${yellowfbright}■■${reset} ${bluef}■■${reset}${purplef}■■${reset}${boldon}${purplefbright}■■${reset} ${purplef}■■${reset}${boldon}${cyanfbright}■■${reset}${boldon}${bluefbright}■■${reset} ${cyanf}■■${reset}${boldon}${purplefbright}■■${reset}${boldon}${cyanfbright}■■${reset}
${greenf}■■${reset}${boldon}${greenfbright}■■${reset}${boldon}${redfbright}■■${reset} ${yellowf}■■${reset}${boldon}${yellowfbright}■■${reset}${boldon}${greenfbright}■■${reset} ${bluef}■■${reset}${boldon}${bluefbright}■■${reset}${boldon}${yellowfbright}■■${reset} ${boldon}${cyanfbright}■■${reset}${purplef}■■${reset}${boldon}${purplefbright}■■${reset} ${boldon}${purplefbright}■■${reset}${boldon}${cyanfbright}■■${reset}${boldon}${bluefbright}■■${reset} ${bluef}■■${reset}${boldon}${purplefbright}■■${reset}${boldon}${cyanfbright}■■${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

View File

@ -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;90m"; redb="${esc}[1;91m"; greenb="${esc}[1;92m"
yellowb="${esc}[1;93m" blueb="${esc}[1;94m"; purpleb="${esc}[1;95m"
cyanb="${esc}[1;96m"; whiteb="${esc}[1;97m"
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

View File

@ -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

View File

@ -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;90m' ' 31m' '1;91m' ' 32m' \
'1;92m' ' 33m' '1;93m' ' 34m' '1;94m' ' 35m' '1;95m' \
' 36m' '1;96m' ' 37m' '1;97m';
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

View File

@ -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;90m' ' 31m' '1;91m' ' 32m' \
'1;92m' ' 33m' '1;93m' ' 34m' '1;94m' ' 35m' '1;95m' \
' 36m' '1;96m' ' 37m' '1;97m';
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

View File

@ -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+90))m ${FGNAMES[f]} "
done
echo -en "\033[0m │"
echo -e "\033[0m"
((b<8)) &&
echo " ├──────────────────────────────────────────────────────────────────────────┤"
done
echo " └──────────────────────────────────────────────────────────────────────────┘"

View File

@ -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
"

View File

@ -1,19 +0,0 @@
#!/usr/bin/env bash
# Author: venam
cat << EOF
            
                                
            
                                                        
                                                
                                                
                                                        
                    
                    
 
 
EOF

View File

@ -1,47 +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"
blackfbrightbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}${redfbright}██${boldoff}${redf}██ ${reset}${greenf} ██${boldon}${greenfbright}██${boldoff}${greenf}██ ${reset}${yellowf} ██${boldon}${yellowfbright}██${boldoff}${yellowf}██ ${reset}${bluef} ██${boldon}${bluefbright}██${boldoff}${bluef}██ ${reset}${purplef} ██${boldon}${purplefbright}██${boldoff}${purplef}██ ${reset}${cyanf} ██${boldon}${cyanfbright}██${boldoff}${cyanf}██ ${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

View File

@ -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: 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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}${redfbright}██ ${reset}${greenf} ██ ██ ${reset}${boldon}${greenfbright}██ ${reset}${yellowf} ██ ██ ${reset}${boldon}${yellowfbright}██ ${reset}${bluef} ██ ██ ${reset}${boldon}${bluefbright}██ ${reset}${purplef} ██ ██ ${reset}${boldon}${purplefbright}██ ${reset}${cyanf} ██ ██ ${reset}${boldon}${cyanfbright}██
${reset}${redf}██████████ ${reset}${boldon}${redfbright}██ ${reset}${greenf}██████████ ${reset}${boldon}${greenfbright}██ ${reset}${yellowf}██████████ ${reset}${boldon}${yellowfbright}██ ${reset}${bluef}██████████ ${reset}${boldon}${bluefbright}██ ${reset}${purplef}██████████ ${reset}${boldon}${purplefbright}██ ${reset}${cyanf}██████████ ${reset}${boldon}${cyanfbright}██
${reset}${redf} ██ ██ ${reset}${boldon}${redfbright}██ ${reset}${greenf} ██ ██ ${reset}${boldon}${greenfbright}██ ${reset}${yellowf} ██ ██ ${reset}${boldon}${yellowfbright}██ ${reset}${bluef} ██ ██ ${reset}${boldon}${bluefbright}██ ${reset}${purplef} ██ ██ ${reset}${boldon}${purplefbright}██ ${reset}${cyanf} ██ ██ ${reset}${boldon}${cyanfbright}██
${reset}${redf}██████████ ${reset}${greenf}██████████ ${reset}${yellowf}██████████ ${reset}${bluef}██████████ ${reset}${purplef}██████████ ${reset}${cyanf}██████████
${reset}${redf} ██ ██ ${reset}${boldon}${redfbright}██ ${reset}${greenf} ██ ██ ${reset}${boldon}${greenfbright}██ ${reset}${yellowf} ██ ██ ${reset}${boldon}${yellowfbright}██ ${reset}${bluef} ██ ██ ${reset}${boldon}${bluefbright}██ ${reset}${purplef} ██ ██ ${reset}${boldon}${purplefbright}██ ${reset}${cyanf} ██ ██ ${reset}${boldon}${cyanfbright}██
${reset}
EOF

View File

@ -1,44 +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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}${redfbright}█ ${reset}${greenf}▄█▄█▄ ${reset}${boldon}${greenfbright}█ ${reset}${yellowf}▄█▄█▄ ${reset}${boldon}${yellowfbright}█ ${reset}${bluef}▄█▄█▄ ${reset}${boldon}${bluefbright}█ ${reset}${purplef}▄█▄█▄ ${reset}${boldon}${purplefbright}█ ${reset}${cyanf}▄█▄█▄ ${reset}${boldon}${cyanfbright}█${reset}
${reset}${redf}▄█▄█▄ ${reset}${boldon}${redfbright}▀ ${reset}${greenf}▄█▄█▄ ${reset}${boldon}${greenfbright}▀ ${reset}${yellowf}▄█▄█▄ ${reset}${boldon}${yellowfbright}▀ ${reset}${bluef}▄█▄█▄ ${reset}${boldon}${bluefbright}▀ ${reset}${purplef}▄█▄█▄ ${reset}${boldon}${purplefbright}▀ ${reset}${cyanf}▄█▄█▄ ${reset}${boldon}${cyanfbright}▀${reset}
${reset}${redf} ▀ ▀ ${reset}${boldon}${redfbright}▀ ${reset}${greenf} ▀ ▀ ${reset}${boldon}${greenfbright}▀ ${reset}${yellowf} ▀ ▀ ${reset}${boldon}${yellowfbright}▀ ${reset}${bluef} ▀ ▀ ${reset}${boldon}${bluefbright}▀ ${reset}${purplef} ▀ ▀ ${reset}${boldon}${purplefbright}▀ ${reset}${cyanf} ▀ ▀ ${reset}${boldon}${cyanfbright}▀${reset}
EOF

View File

@ -1,56 +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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}
${redfbright} ▄████▄ ${greenfbright} ▄████▄ ${yellowfbright} ▄████▄ ${bluefbright} ▄████▄ ${purplefbright} ▄████▄ ${cyanfbright} ▄████▄
${redfbright} ██▀▀▀▀██ ${greenfbright} ██▀▀▀▀██ ${yellowfbright} ██▀▀▀▀██ ${bluefbright} ██▀▀▀▀██ ${purplefbright} ██▀▀▀▀██ ${cyanfbright} ██▀▀▀▀██
${redfbright} █ █ ${greenfbright} █ █ ${yellowfbright} █ █ ${bluefbright} █ █ ${purplefbright} █ █ ${cyanfbright} █ █
${redfbright} █ ▄▀▀▄ █ ${greenfbright} █ ▄▀▀▄ █ ${yellowfbright} █ ▄▀▀▄ █ ${bluefbright} █ ▄▀▀▄ █ ${purplefbright} █ ▄▀▀▄ █ ${cyanfbright} █ ▄▀▀▄ █
${redfbright} █ ▄█▬▄▄▬█▄ █ ${greenfbright}█ ▄█▬▄▄▬█▄ █ ${yellowfbright}█ ▄█▬▄▄▬█▄ █ ${bluefbright}█ ▄█▬▄▄▬█▄ █ ${purplefbright}█ ▄█▬▄▄▬█▄ █ ${cyanfbright}█ ▄█▬▄▄▬█▄ █
${reset}
EOF

View File

@ -1,39 +0,0 @@
#!/bin/sh
# Based on ufetch-debian
# https://gitlab.com/jschx/ufetch/-/blob/master/ufetch-debian
if [ -x "$(command -v tput)" ]; then
bold="$(tput bold)"
black="$(tput setaf 0)"
red="$(tput setaf 1)"
green="$(tput setaf 2)"
yellow="$(tput setaf 3)"
blue="$(tput setaf 4)"
magenta="$(tput setaf 5)"
cyan="$(tput setaf 6)"
white="$(tput setaf 7)"
reset="$(tput sgr0)"
fi
# you can change these
ic="${reset}" # info
c0="${reset}${red}"
c1="${reset}${green}"
c2="${reset}${yellow}"
c3="${reset}${blue}"
c4="${reset}${magenta}"
c5="${reset}${cyan}"
## OUTPUT
cat <<EOF
${c0} ,---._ ${c1} ,---._ ${c2} ,---._ ${c3} ,---._ ${c4} ,---._ ${c5} ,---._
${c0} /\` __ \\ ${c1} /\` __ \\ ${c2} /\` __ \\ ${c3} /\` __ \\ ${c4} /\` __ \\ ${c5} /\` __ \\
${c0} | / | ${c1} | / | ${c2} | / | ${c3} | / | ${c4} | / | ${c5} | / |
${c0} | \`.__.\` ${c1} | \`.__.\` ${c2} | \`.__.\` ${c3} | \`.__.\` ${c4} | \`.__.\` ${c5} | \`.__.\`
${c0} \ ${c1} \ ${c2} \ ${c3} \ ${c4} \ ${c5} \
${c0} \`-,_ ${c1} \`-,_ ${c2} \`-,_ ${c3} \`-,_ ${c4} \`-,_ ${c5} \`-,_
${ic}
EOF

View File

@ -1,58 +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"
redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m";
cyanfbright="${esc}[96m"; purplefbright="${esc}[95m"
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} ▓ ▓ ▓▓▓ ▓ ▓ ▓▓▓ ▓ ▓ ▓ ▓░ ░░▓ ▓▓ ▓ ▓▓
${boldon}▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓░▓▓▓▓▓▓▓▓░▓▒ ░░▓▓▓▓░▓▓▓▓░▓▓▓▓▓▓▓▓░▓▓▓▓░ ▓▓▓▓▓▓▓▓
${boldon} ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓▓▓▓▓▓▓ ▓▓▓▓▓░▓▓
${boldon} ▓▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓░▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓ ▓▓▓▓▓▓▓▓
${boldon} ▓▓▓▓▓▓▒ ▓▓▓▓▒▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓
${boldon} ▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓░▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
${boldon} ▓▓▓▓▓▓▓ ▓▓▒▓▓░▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓░▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▓░░▓▓▓
${boldon} ▓▓▓▓░▓▓ ▓▓▓░▓▓░▓▓▓▓▓░▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░
${boldon} ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
${boldon} ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░
${boldon} ▓▓▓▓░▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
${boldon} ▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓ ▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
${boldon} ▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
${boldon} ▓▓░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓░▓▓▓▓▓▓▓
${boldon} ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓ ▓▓▓▓▓▓▓▓▓▓░▓▓▓▓▓ ▓▓▓▓▓▓░▓▓▓▓▓▓▓▓▓ ▓▓▓▓░▓▓ ░▓ ▓▓▓▓▓▓▓
${boldon} ▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓░ ▓░▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓░▓▓▓ ▓▓▓▓▓▓▓
${boldon} ▓▓▓▓ ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓░▒▓▓▓▓ ▓▓ ▓▓▓░░▓▓
${boldon} ▓▓▓▓▓▓ ▓▓░ ░▓▓░ ▓▓░▓ ▓▓▓▓▓▓▓
${boldon} ▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓
${boldon} ▓▓▓▓▓ ▓▓▓░░
${boldon} ░▓▓ ▒▓▓
${reset}
EOF

View File

@ -1,58 +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"
redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m";
cyanfbright="${esc}[96m"; purplefbright="${esc}[95m"
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}${yellowfbright} ▓ ▓ ▓▓▓ ▓ ▓ ▓▓▓ ▓ ▓ ▓ ▓░ ░░▓ ▓▓ ▓ ▓▓
${boldon}${yellowfbright}▓▓${boldon}${yellowfbright}▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓░▓▓▓▓▓▓▓▓░▓▒ ░░▓▓▓▓░▓▓▓▓░▓▓▓▓▓▓▓▓░▓▓▓▓░ ▓▓▓▓▓${boldon}${yellowfbright}▓▓▓
${boldon}${yellowfbright} ▓▓${boldon}${bluefbright}▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓▓▓▓▓▓▓ ▓▓▓▓▓░${boldon}${yellowfbright}▓▓
${boldon}${yellowfbright} ▓▓▓${boldon}${bluefbright}▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓░▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▓ ▓▓▓▓▓▓${boldon}${yellowfbright}▓▓
${boldon}${yellowfbright} ▓▓▓${boldon}${bluefbright}▓▓▓▒ ▓▓▓▓▒▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓░▓
${boldon}${yellowfbright} ▓▓▓${boldon}${bluefbright}▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓░▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓
${boldon}${yellowfbright} ▓▓${boldon}${bluefbright}▓▓▓▓▓ ▓▓▒▓▓░▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓░▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▓░░${boldon}${yellowfbright}▓▓▓
${boldon}${yellowfbright} ▓▓▓${boldon}${bluefbright}▓░▓▓ ▓▓▓░▓▓░▓▓▓▓▓░▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓▓░
${boldon}${yellowfbright} ▓▓${boldon}${redfbright}▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓▓
${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓░
${boldon}${yellowfbright} ▓▓${boldon}${redfbright}▓▓░▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓▓
${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓ ▓▓▓▓▓ ▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓▓
${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓${boldon}${redfbright}░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓▓
${boldon}${yellowfbright} ▓▓${boldon}${redfbright}░▓▓▓▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓░▓░${boldon}${yellowfbright}${boldon}${redfbright}▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓░▓▓▓▓${boldon}${yellowfbright}▓▓▓
${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓▓▓▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓░▓ ▓▓${boldon}${redfbright}▓▓▓▓▓▓▓▓░▓▓▓▓▓ ▓▓▓▓▓▓░▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓ ▓▓▓▓░▓▓ ░▓ ▓${boldon}${redfbright}▓▓▓▓${boldon}${yellowfbright}▓▓
${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓▓▓▓▓▒▓▓▓${boldon}${yellowfbright}▓▓▓░ ▓░▓${boldon}${redfbright}▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓ ▓▓${boldon}${redfbright}▓▓▓▓▓▓▓▓${boldon}${yellowfbright}▓▓ ▓░▓▓▓ ▓${boldon}${redfbright}▓▓▓▓${boldon}${yellowfbright}▓▓
${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓ ▓▓▓▓▓${boldon}${yellowfbright}▓▓▓ ▓▓${boldon}${redfbright}▓▓${boldon}${redfbright}▓▓▓${boldon}${yellowfbright}▓▓ ▓▓${boldon}${redfbright}▓▓░▒▓▓${boldon}${yellowfbright}▓▓ ▓▓ ▓${boldon}${redfbright}▓▓░░${boldon}${yellowfbright}▓▓
${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓▓▓${boldon}${yellowfbright} ▓▓░ ░▓▓░ ▓▓░▓ ▓${boldon}${redfbright}▓▓▓▓▓${boldon}${yellowfbright}▓
${boldon}${yellowfbright} ▓▓▓${boldon}${redfbright}▓▓▓${boldon}${yellowfbright}▓▓ ░▓${boldon}${redfbright}▓▓▓▓${boldon}${yellowfbright}▓
${boldon}${yellowfbright} ▓▓${boldon}${redfbright}▓${boldon}${yellowfbright}▓▓ ▓${boldon}${redfbright}▓▓░${boldon}${yellowfbright}░
${boldon}${yellowfbright} ░▓▓${boldon}${redfbright} ${boldon}${yellowfbright} ▒▓${boldon}${redfbright}${boldon}${yellowfbright}▓
${reset}
EOF

View File

@ -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: 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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}${whitefbright} ▄▄▄${reset}
${boldon}${whitefbright} ▄█████▄▄ ${reset}
${boldon}${whitefbright}███${cyanb}▀▀▀▀${blackb}▀${cyanb}▀${blackb}▀${cyanb}▀${reset}
${boldon}${whitefbright}███${cyanb}▄ ${boldoff}${blackf}▀ ▀${reset}${cyanf}▀${reset}
${boldon}${whitefbright} ▄${cyanb} ${reset}${boldon}${whitefbright}█████▄ ${boldoff}${redf}█▄${reset}
${boldoff}${redf}▀▀${reset}${boldon}${redb}${whitefbright}▄${cyanb}▄ ${redb}▄▄▄${reset}${boldoff}${redf}▀██▀${reset}
${boldon}${whitefbright} ██▀▀▀██▀ ${boldoff}${redf}▀${reset}
${boldon}${whitefbright} ▀▀▀▀ ▀▀▀▀${reset}
EOF

View File

@ -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: 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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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
${white}╔══════════════════════════════════════════════════════════════════╗
${white}║ ${redf} ▄█ █▄${reset} ${greenf} ▄█ █▄${reset} ${yellowf} ▄█ █▄${reset} ${bluef} ▄█ █▄${reset} ${purplef} ▄█ █▄${reset} ${cyanf} ▄█ █▄${reset} ${white}║
${white}║ ${boldon}${redfbright}▄█◄► ◄►█▄${reset} ${boldon}${greenfbright}▄█◄► ◄►█▄${reset} ${boldon}${yellowfbright}▄█◄► ◄►█▄${reset} ${boldon}${bluefbright}▄█◄► ◄►█▄${reset} ${boldon}${purplefbright}▄█◄► ◄►█▄${reset} ${boldon}${cyanfbright}▄█◄► ◄►█▄${reset} ${white}║
${white}║ ${boldon}${redfbright}▀█  █▀${reset} ${boldon}${greenfbright}▀█  █▀${reset} ${boldon}${yellowfbright}▀█  █▀${reset} ${boldon}${bluefbright}▀█  █▀${reset} ${boldon}${purplefbright}▀█  █▀${reset} ${boldon}${cyanfbright}▀█  █▀${reset} ${white}║
${white}║ ${redf} ▀█ █▀${reset} ${greenf} ▀█ █▀${reset} ${yellowf} ▀█ █▀${reset} ${bluef} ▀█ █▀${reset} ${purplef} ▀█ █▀${reset} ${cyanf} ▀█ █▀${reset} ${white}║
${white}╚══════════════════════════════════════════════════════════════════╝
EOF

View File

@ -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"
blackfbright="${esc}[30m"; redfbright="${esc}[31m"; greenfbright="${esc}[32m"
yellowfbright="${esc}[33m" bluefbright="${esc}[34m"; purplefbright="${esc}[35m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}${redfbright}▒▒${reset} ${greenf}▒▒▒▒${reset} ${boldon}${greenfbright}▒▒${reset} ${yellowf}▒▒▒▒${reset} ${boldon}${yellowfbright}▒▒${reset} ${bluef}▒▒▒▒${reset} ${boldon}${bluefbright}▒▒${reset} ${purplef}▒▒▒▒${reset} ${boldon}${purplefbright}▒▒${reset} ${cyanf}▒▒▒▒${reset} ${boldon}${cyanfbright}▒▒${reset}
${redf}▒▒ ■${reset} ${boldon}${redfbright}▒▒${reset} ${greenf}▒▒ ■${reset} ${boldon}${greenfbright}▒▒${reset} ${yellowf}▒▒ ■${reset} ${boldon}${yellowfbright}▒▒${reset} ${bluef}▒▒ ■${reset} ${boldon}${bluefbright}▒▒${reset} ${purplef}▒▒ ■${reset} ${boldon}${purplefbright}▒▒${reset} ${cyanf}▒▒ ■${reset} ${boldon}${cyanfbright}▒▒${reset}
${redf}▒▒ ${reset}${boldon}${redfbright}▒▒▒▒${reset} ${greenf}▒▒ ${reset}${boldon}${greenfbright}▒▒▒▒${reset} ${yellowf}▒▒ ${reset}${boldon}${yellowfbright}▒▒▒▒${reset} ${bluef}▒▒ ${reset}${boldon}${bluefbright}▒▒▒▒${reset} ${purplef}▒▒ ${reset}${boldon}${purplefbright}▒▒▒▒${reset} ${cyanf}▒▒ ${reset}${boldon}${cyanfbright}▒▒▒▒${reset}
EOF

View File

@ -1,33 +0,0 @@
#!/usr/bin/env 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
for i in {0..7}; do
printf -v fbright$i %b "\e[9${i}m"
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
$fbright1 ▄▄▄ $fbright2 ▄▄▄ $fbright3 ▄▄▄ $fbright4 ▄▄▄ $fbright5 ▄▄▄ $fbright6 ▄▄▄
$fbright1 ▀█▀██ ▄ $fbright2 ▀█▀██ ▄ $fbright3 ▀█▀██ ▄ $fbright4 ▀█▀██ ▄ $fbright5 ▀█▀██ ▄ $fbright6 ▀█▀██ ▄
$fbright1 ▀▄██████▀ $fbright2 ▀▄██████▀ $fbright3 ▀▄██████▀ $fbright4 ▀▄██████▀ $fbright5 ▀▄██████▀ $fbright6 ▀▄██████▀
$fbright1 ▀█████ $fbright2 ▀█████ $fbright3 ▀█████ $fbright4 ▀█████ $fbright5 ▀█████ $fbright6 ▀█████
$fbright1 ▀▀▀▀▄ $fbright2 ▀▀▀▀▄ $fbright3 ▀▀▀▀▄ $fbright4 ▀▀▀▀▄ $fbright5 ▀▀▀▀▄ $fbright6 ▀▀▀▀▄
$rst
EOF

View File

@ -1,23 +0,0 @@
#!/bin/sh
# Author: venam
# Source: https://nixers.net/showthread.php?tid=1921
cat << EOF
._________________________________. 
|       | 
|   _   | 
|  //\  | 
|  //-- // \ ========,  | 
|  // // \ /  | 
|  // // \ /  | 
|  __________ ___  __ _________ | 
|  / \    // //  | 
|  / \ // //  | 
|  /__________________//  | 
|  \ //  | 
|  \//  | 
|   "   | 
|        | 
'---------------------------------' 
EOF

View File

@ -1,55 +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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}
${redfbright} ▄█████▄ ${greenfbright} ▄█████▄ ${yellowfbright} ▄█████▄ ${bluefbright} ▄█████▄ ${purplefbright} ▄█████▄ ${cyanfbright} ▄█████▄
${redfbright} █▄▄ ▄▄█ ${greenfbright} █▄▄ ▄▄█ ${yellowfbright} █▄▄ ▄▄█ ${bluefbright} █▄▄ ▄▄█ ${purplefbright} █▄▄ ▄▄█ ${cyanfbright} █▄▄ ▄▄█
${redfbright} ███ ███ ${greenfbright} ███ ███ ${yellowfbright} ███ ███ ${bluefbright} ███ ███ ${purplefbright} ███ ███ ${cyanfbright} ███ ███
${redfbright} ▀██ ██▀ ${greenfbright} ▀██ ██▀ ${yellowfbright} ▀██ ██▀ ${bluefbright} ▀██ ██▀ ${purplefbright} ▀██ ██▀ ${cyanfbright} ▀██ ██▀
${redfbright} ▀ ▀ ${greenfbright} ▀ ▀ ${yellowfbright} ▀ ▀ ${bluefbright} ▀ ▀ ${purplefbright} ▀ ▀ ${cyanfbright} ▀ ▀
${reset}
EOF

View File

@ -1,63 +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"
redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m";
cyanfbright="${esc}[96m"; purplefbright="${esc}[95m"
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}${redfbright} ░▓▓
${boldon}${redfbright} ▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓░ ▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓ ▓▓▓ ▓▒ ░▓▓▓▓▓
${boldon}${redfbright} ▒▓▓ ▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒
${boldon}${redfbright} ▓▓▓ ▓▓▓▓▓ ▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓▓▓▓▒▓▓▓▓▓ ▓▓▓▓▒ ▓▓░ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ▓
${boldon}${redfbright} ▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓▓▓▓▓ ▓▓ ▒ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒
${boldon}${redfbright} ▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓▓▓▓▓▓▓ ▒▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓
${boldon}${redfbright} ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
${boldon}${redfbright} ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
${reset}
EOF

View File

@ -1,38 +0,0 @@
#!/bin/sh
# Author: ishaanbhimwal@gmail.com
# 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"
redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m";
cyanfbright="${esc}[96m"; purplefbright="${esc}[95m"
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
${reset}${redf} ███████ ███ ${greenf} ███████ ███ ${yellowf} ███████ ███ ${bluef} ███████ ███ ${purplef} ███████ ███ ${cyanf} ███████ ███
${reset}${redf} ███ ${boldon}${redfbright}▄▄▄${reset}${redf} ███ ${greenf} ███ ${boldon}${greenfbright}▄▄▄${reset}${greenf} ███ ${yellowf} ███ ${boldon}${yellowfbright}▄▄▄${reset}${yellowf} ███ ${bluef} ███ ${boldon}${bluefbright}▄▄▄${reset}${bluef} ███ ${purplef} ███ ${boldon}${purplefbright}▄▄▄${reset}${purplef} ███ ${cyanf} ███ ${boldon}${cyanfbright}▄▄▄${reset}${cyanf} ███
${reset}${redf} ███ ${boldon}${redfbright}███${reset}${redf} ███ ${greenf} ███ ${boldon}${greenfbright}███${reset}${greenf} ███ ${yellowf} ███ ${boldon}${yellowfbright}███${reset}${yellowf} ███ ${bluef} ███ ${boldon}${bluefbright}███${reset}${bluef} ███ ${purplef} ███ ${boldon}${purplefbright}███${reset}${purplef} ███ ${cyanf} ███ ${boldon}${cyanfbright}███${reset}${cyanf} ███
${reset}${redf} ███ ${boldon}${redfbright}███${reset}${redf} ███ ${greenf} ███ ${boldon}${greenfbright}███${reset}${greenf} ███ ${yellowf} ███ ${boldon}${yellowfbright}███${reset}${yellowf} ███ ${bluef} ███ ${boldon}${bluefbright}███${reset}${bluef} ███ ${purplef} ███ ${boldon}${purplefbright}███${reset}${purplef} ███ ${cyanf} ███ ${boldon}${cyanfbright}███${reset}${cyanf} ███
${reset}${redf} ▀▀▀ ${boldon}${redfbright}▀▀▀${reset}${redf} ▀▀▀ ${greenf} ▀▀▀ ${boldon}${greenfbright}▀▀▀${reset}${greenf} ▀▀▀ ${yellowf} ▀▀▀ ${boldon}${yellowfbright}▀▀▀${reset}${yellowf} ▀▀▀ ${bluef} ▀▀▀ ${boldon}${bluefbright}▀▀▀${reset}${bluef} ▀▀▀ ${purplef} ▀▀▀ ${boldon}${purplefbright}▀▀▀${reset}${purplef} ▀▀▀ ${cyanf} ▀▀▀ ${boldon}${cyanfbright}▀▀▀${reset}${cyanf} ▀▀▀
${reset}
EOF

View File

@ -1,42 +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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}${redfbright}██${reset}${redf}█${boldon}${redfbright}██${reset}${redf}███${reset} ${blackf}|${reset} ${greenf}███${boldon}${greenfbright}██${reset}${greenf}█${boldon}${greenfbright}██${reset}${greenf}███${reset} ${blackf}|${reset} ${yellowf}███${boldon}${yellowfbright}██${reset}${yellowf}█${boldon}${yellowfbright}██${reset}${yellowf}███${reset} ${blackf}|${reset} ${bluef}███${boldon}${bluefbright}██${reset}${bluef}█${boldon}${bluefbright}██${reset}${bluef}███${reset} ${blackf}|${reset} ${purplef}███${boldon}${purplefbright}██${reset}${purplef}█${boldon}${purplefbright}██${reset}${purplef}███${reset} ${blackf}|${reset} ${cyanf}███${boldon}${cyanfbright}██${reset}${cyanf}█${boldon}${cyanfbright}██${reset}${cyanf}███${reset}
${redf}████${boldon}${redfbright}█${reset}${redf}████${reset} ${blackf}|${reset} ${greenf}████${boldon}${greenfbright}█${reset}${greenf}████${reset} ${blackf}|${reset} ${yellowf}████${boldon}${yellowfbright}█${reset}${yellowf}████${reset} ${blackf}|${reset} ${bluef}████${boldon}${bluefbright}█${reset}${bluef}████${reset} ${blackf}|${reset} ${purplef}████${boldon}${purplefbright}█${reset}${purplef}████${reset} ${blackf}|${reset} ${cyanf}████${boldon}${cyanfbright}█${reset}${cyanf}████${reset}
${redf}█ █ ${boldon}${redfbright}█${reset} ${redf}█ █${reset} ${blackf}|${reset} ${greenf}█ █ ${boldon}${greenfbright}█${reset} ${greenf}█ █${reset} ${blackf}|${reset} ${yellowf}█ █ ${boldon}${yellowfbright}█${reset} ${yellowf}█ █${reset} ${blackf}|${reset} ${bluef}█ █ ${boldon}${bluefbright}█${reset} ${bluef}█ █${reset} ${blackf}|${reset} ${purplef}█ █ ${boldon}${purplefbright}█${reset} ${purplef}█ █${reset} ${blackf}|${reset} ${cyanf}█ █ ${boldon}${cyanfbright}█${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

View File

@ -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: 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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}${redfbright} █ █ ${reset} ${boldon}${greenfbright}█ █ ${reset} ${boldon}${yellowfbright}█ █ ${reset} ${boldon}${bluefbright}█ █ ${reset} ${boldon}${purplefbright}█ █ ${reset} ${boldon}${cyanfbright}█ █ ${reset}
${boldon}${redfbright} ■ ■ ${reset} ${boldon}${greenfbright} ■ ■ ${reset} ${boldon}${yellowfbright} ■ ■ ${reset} ${boldon}${bluefbright} ■ ■ ${reset} ${boldon}${purplefbright} ■ ■ ${reset} ${boldon}${cyanfbright} ■ ■ ${reset}
${boldon}${redfbright} =■= ${reset} ${boldon}${greenfbright} =■= ${reset} ${boldon}${yellowfbright} =■= ${reset} ${boldon}${bluefbright} =■= ${reset} ${boldon}${purplefbright} =■= ${reset} ${boldon}${cyanfbright} =■= ${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

View File

@ -1,49 +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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m" whitefbright="${esc}[97m"
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}${redfbright} ██ ██ ${reset} ${boldon}${greenfbright} ██ ██ ${reset} ${boldon}${yellowfbright} ██ ██ ${reset} ${boldon}${bluefbright} ██ ██ ${reset} ${boldon}${purplefbright} ██ ██ ${reset} ${boldon}${cyanfbright} ██ ██ ${reset}
${boldon}${redfbright} █${whitef} ■${reset}${boldon}${redfbright}█ █${whitef}■${reset}${boldon}${redfbright} █${reset} ${boldon}${greenfbright} █${whitef} ■${reset}${boldon}${greenfbright}█ █${whitef}■${reset}${boldon}${greenfbright} █${reset} ${boldon}${yellowfbright} █${whitef} ■${reset}${boldon}${yellowfbright}█ █${whitef}■${reset}${boldon}${yellowfbright} █${reset} ${boldon}${bluefbright} █${whitef} ■${reset}${boldon}${bluefbright}█ █${whitef}■${reset}${boldon}${bluefbright} █${reset} ${boldon}${purplefbright} █${whitef} ■${reset}${boldon}${purplefbright}█ █${whitef}■${reset}${boldon}${purplefbright} █${reset} ${boldon}${cyanfbright} █${whitef} ■${reset}${boldon}${cyanfbright}█ █${whitef}■${reset}${boldon}${cyanfbright} █${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

View File

@ -1,40 +0,0 @@
#!/bin/sh
# Author: lantlos
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
${boldon}${blackf} ██████${reset}
${boldon}${blackf}██${reset}██${reset}${bluef}██${reset}${boldon}${blackf}██${reset}${bluef}██${reset}
${boldon}${blackf}██${reset}██${bluef}██${reset}${boldon}${blackf}██${reset}${bluef}██${reset}
${boldon}${blackf}██████${reset}${purplef}██████${reset}
${boldon}${blackf}████${reset}████${boldon}${blackf}██${reset}
${boldon}${blackf}████${reset}████████${boldon}${blackf}██${reset}
${boldon}${blackf}████${reset}████████${boldon}${blackf}██${reset}
${boldon}${blackf}████${reset}████████${boldon}${blackf}██${reset}
${boldon}${blackf}████${reset}████${boldon}${blackf}██${reset}
${boldon}${blackf}███${reset}${purplef}███ ████${reset}
EOF

View File

@ -1,97 +0,0 @@
#!/usr/bin/env 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

View File

@ -1,74 +0,0 @@
#!/bin/sh
#
# ┳━┓┳━┓0┏┓┓┳━┓┏━┓┓ ┳
# ┃┳┛┃━┫┃┃┃┃┃━┃┃ ┃┃┃┃
# ┃┗┛┛ ┃┃┃┗┛┻━┛┛━┛┗┻┛
# ┳━┓┳ ┓┳┏ ┳━┓
# ┃━┛┃ ┃┣┻┓┣━
# ┇ ┗━┛┃ ┛┻━┛
# ┓━┓┳┏ ┳ ┓┳ ┳
# ┗━┓┣┻┓┃ ┃┃ ┃
# ━━┛┇ ┛┗━┛┗━┛┗━┛
#
# the worst color script
# by xero <http://0w.nz>
cat << 'EOF'
 .................
 .syhhso++++++++/++osyyhys+.
 -oddyo+o+++++++++++++++o+oo+osdms:
 :dmyo++oosssssssssssssssooooooo+/+ymm+`
 hmyo++ossyyhhddddddddddddhyyyssss+//+ymd-
 -mho+oosyhhhddmmmmmmmmmmmmmmddhhyyyso+//+hN+
 my+++syhhhhdmmNNNNNNNNNNNNmmmmmdhhyyyyo//+sd:
 hs//+oyhhhhdmNNNNNNNNNNNNNNNNNNmmdhyhhhyo//++y
 s+++shddhhdmmNNNNNNNNNNNNNNNNNNNNmdhhhdhyo/++/
 'hs+shmmmddmNNNNNNNNNNNNNNNNNNNNNmddddddhs+oh/
 shsshdmmmmmNNMMMMMMMMMMMNNNNNNNNmmmmmmdhssdh-
 +ssohdmmmmNNNNNMMMMMMMMNNNNNNmmmmmNNmdhhhs:`
 -+oo++////++sydmNNNNNNNNNNNNNNNNNNNdyyys/--://+//:
 d/+hmNNNmmdddhhhdmNNNNNNNNNNNNNNNmdhyyyhhhddmmNmdyd-
 ++--+ymNMMNNNNNNmmmmNNNNNNNNNNNmdhddmNNMMMMMMNmhyss
 /d+` -+ydmNMMMMMMNNmNMMMMMMMmmmmNNMMMMMNNmh- :sdo
 sNo ` /ohdmNNMMMMNNMMMMMNNNMMMMMNmdyo/ ` hNh
 M+' ``-/oyhmNNMNhNMNhNMMMMNmho/ ` 'MN/
 d+' `-+osydh0w.nzmNNmho: 'mN:
 +o/ ` :oo+:s :+o/-` -dds
 :hdo x `-/ooss:':+ooo: ` 0 :sdm+
 +dNNNh+ :ydmNNm' `sddmyo +hmNmds
 dhNMMNNNNmddhsyhdmmNNNM: NNmNmhyo+oyyyhmNMMNmysd
 ydNNNNNh+/++ohmMMMMNMNh oNNNNNNNmho++++yddhyssy
 `:sNMMMMN' `mNMNNNd/`
XXXXXXXXX y/hMMNm/ .dXb. -hdmdy: ` XXXXXXXXXXX
XXXXXXXX `o+hNNds. -ymNNy- .yhys+/`` XXXXXXXXXX
XXXXXXXX +-+//o/+odMNMMMNdmh++////-/s XXXXXXXXXX
XXXXXXX mhNd -+d/+myo++ysy/hs -mNsdh/ XXXXXXXXXX
XXXXXXXX mhMN+ dMm-/-smy-::dMN/sMMmdo XXXXXXXXXX
XXXXXXXXXX NMy+NMMh oMMMs yMMMyNMMs+ XXXXXXXXXXX
XXXXXXXXXXX dy-hMMm+dMMMdoNMMh ydo XXXXXXXXXXXXX
XXXXXXXXXXXXX  smm 'NMMy dms sm XXXXXXXXXXXXXX
XXXXXXXXXXXXXX XXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
EOF

View File

@ -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: 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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗ ${greenf}╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗ ${yellowf}╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗
${boldon}${redfbright}╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝ ${greenfbright}╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝ ${yellowfbright}╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝${reset}
■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■
${bluef}╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗ ${purplef}╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗ ${cyanf}╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗
${boldon}${bluefbright}╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝ ${purplefbright}╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝ ${cyanfbright}╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝${reset}
EOF

View File

@ -1,49 +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"
Bfbright="${esc}[90m"; rfbright="${esc}[91m"; gfbright="${esc}[92m"
yfbright="${esc}[93m" bfbright="${esc}[94m"; pfbright="${esc}[95m"
cfbright="${esc}[96m"; wfbright="${esc}[97m"
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}${gfbright}██${OFF}${gf}██${Bf}██ ${Bf}██${bf}${ON}${bfbright}██${OFF}${bf}██${Bf}██ ${Bf}██${rf}${ON}${rfbright}██${OFF}${rf}██${Bf}██ ${Bf}██${pf}${ON}${pfbright}██${OFF}${pf}██${Bf}██ ${Bf}██${cf}${ON}${cfbright}██${OFF}${cf}██${Bf}██
${Bf}██${yf}██████${Bf}██ ${Bf}██${gf}${ON}${gfbright}████${OFF}${gf}████${Bf}██ ${Bf}██${bf}${ON}${bfbright}████${OFF}${bf}████${Bf}██ ${Bf}██${rf}${ON}${rfbright}████${OFF}${rf}████${Bf}██ ${Bf}██${pf}${ON}${pfbright}████${OFF}${pf}████${Bf}██ ${Bf}██${cf}${ON}${cfbright}████${OFF}${cf}████${Bf}██
${Bf}██${yf}${ON}${yfbright}██${OFF}${yf}████${Bf}██ ${Bf}██${gf}${ON}${gfbright}██████${OFF}${gf}██████${Bf}██ ${Bf}██${bf}${ON}${bfbright}██████${OFF}${bf}██████${Bf}██ ${Bf}██${rf}${ON}${rfbright}██████${OFF}${rf}██████${Bf}██ ${Bf}██${pf}${ON}${pfbright}██████${OFF}${pf}██████${Bf}██ ${Bf}██${cf}${ON}${cfbright}██████${OFF}${cf}██████${Bf}██
${Bf}██${yf}██${ON}${yfbright}████${OFF}${yf}████${Bf}██ ${Bf}██${gf}${ON}${gfbright}██${OFF}${gf}██${ON}${gfbright}██${OFF}${gf}██${Bf}██${gf}██${Bf}██${gf}██${Bf}██ ${Bf}██${bf}${ON}${bfbright}██${OFF}${bf}██${ON}${bfbright}██${OFF}${bf}██${Bf}██${bf}██${Bf}██${bf}██${Bf}██ ${Bf}██${rf}${ON}${rfbright}██${OFF}${rf}██${ON}${rfbright}██${OFF}${rf}██${Bf}██${rf}██${Bf}██${rf}██${Bf}██ ${Bf}██${pf}${ON}${pfbright}██${OFF}${pf}██${ON}${pfbright}██${OFF}${pf}██${Bf}██${pf}██${Bf}██${pf}██${Bf}██ ${Bf}██${cf}${ON}${cfbright}██${OFF}${cf}██${ON}${cfbright}██${OFF}${cf}██${Bf}██${cf}██${Bf}██${cf}██${Bf}██
${Bf}██${yf}████${ON}${yfbright}██${OFF}${yf}████${Bf}██ ${Bf}██${gf}${ON}${gfbright}████${OFF}${gf}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}${bfbright}████${OFF}${bf}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}${rfbright}████${OFF}${rf}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}${pfbright}████${OFF}${pf}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}${cfbright}████${OFF}${cf}██████${Bf}██${cf}████${Bf}██
${Bf}██${yf}██████${ON}${yfbright}████${OFF}${yf}████${Bf}██ ${Bf}██${gf}${ON}${gfbright}████${OFF}${gf}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}${bfbright}████${OFF}${bf}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}${rfbright}████${OFF}${rf}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}${pfbright}████${OFF}${pf}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}${cfbright}████${OFF}${cf}██████${Bf}██${cf}████${Bf}██
${Bf}██${yf}████████${ON}${yfbright}██${OFF}${yf}████${Bf}██ ${Bf}██${gf}${ON}${gfbright}████${OFF}${gf}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}${bfbright}████${OFF}${bf}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}${rfbright}████${OFF}${rf}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}${pfbright}████${OFF}${pf}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}${cfbright}████${OFF}${cf}██████${Bf}██${cf}████${Bf}██
${Bf}██████████████████████ ${Bf}██${gf}${ON}${gfbright}████${OFF}${gf}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}${bfbright}████${OFF}${bf}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}${rfbright}████${OFF}${rf}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}${pfbright}████${OFF}${pf}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}${cfbright}████${OFF}${cf}██████${Bf}██${cf}████${Bf}██
${Bf}██${yf}██${Bf}██ ██${yf}██${Bf}██ ${Bf}██${gf}${ON}${gfbright}████${OFF}${gf}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}${bfbright}████${OFF}${bf}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}${rfbright}████${OFF}${rf}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}${pfbright}████${OFF}${pf}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}${cfbright}████${OFF}${cf}██████${Bf}██${cf}████${Bf}██
${Bf}██${yf}██████${Bf}██ ██${yf}██████${Bf}██ ${Bf}██${gf}${ON}${gfbright}████${OFF}${gf}██████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}${bfbright}████${OFF}${bf}██████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}${rfbright}████${OFF}${rf}██████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}${pfbright}████${OFF}${pf}██████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}${cfbright}████${OFF}${cf}██████${Bf}██${cf}████${Bf}██
${Bf}██${yf}██████${Bf}██ ██${yf}${ON}${yfbright}██${OFF}${yf}████${Bf}██ ${Bf}██${gf}${ON}${gfbright}██${OFF}${gf}██${ON}${gfbright}██${OFF}${gf}████${Bf}██${gf}████${Bf}██ ${Bf}██${bf}${ON}${bfbright}██${OFF}${bf}██${ON}${bfbright}██${OFF}${bf}████${Bf}██${bf}████${Bf}██ ${Bf}██${rf}${ON}${rfbright}██${OFF}${rf}██${ON}${rfbright}██${OFF}${rf}████${Bf}██${rf}████${Bf}██ ${Bf}██${pf}${ON}${pfbright}██${OFF}${pf}██${ON}${pfbright}██${OFF}${pf}████${Bf}██${pf}████${Bf}██ ${Bf}██${cf}${ON}${cfbright}██${OFF}${cf}██${ON}${cfbright}██${OFF}${cf}████${Bf}██${cf}████${Bf}██
${Bf}██${yf}██████████${Bf}██ ██${yf}██${ON}${yfbright}████${OFF}${yf}████${Bf}██ ${Bf}██${gf}██████${ON}${gfbright}██${OFF}${gf}${Bf}██${gf}██${Bf}██${gf}██${Bf}██ ${Bf}██${bf}██████${ON}${bfbright}██${OFF}${bf}${Bf}██${bf}██${Bf}██${bf}██${Bf}██ ${Bf}██${rf}██████${ON}${rfbright}██${OFF}${rf}${Bf}██${rf}██${Bf}██${rf}██${Bf}██ ${Bf}██${pf}██████${ON}${pfbright}██${OFF}${pf}${Bf}██${pf}██${Bf}██${pf}██${Bf}██ ${Bf}██${cf}██████${ON}${cfbright}██${OFF}${cf}${Bf}██${cf}██${Bf}██${cf}██${Bf}██
${Bf}██${yf}${ON}${yfbright}██${OFF}${yf}████████${Bf}██ ██${yf}████${ON}${yfbright}██${OFF}${yf}████${Bf}██ ${Bf}██${gf}████████████${Bf}██ ${Bf}██${bf}████████████${Bf}██ ${Bf}██${rf}████████████${Bf}██ ${Bf}██${pf}████████████${Bf}██ ${Bf}██${cf}████████████${Bf}██
${Bf}██${yf}██${ON}${yfbright}████${OFF}${yf}████████${Bf}██ ██${yf}██████${ON}${yfbright}████${OFF}${yf}████${Bf}██ ${Bf}██${gf}████████${Bf}██ ${Bf}██${bf}████████${Bf}██ ${Bf}██${rf}████████${Bf}██ ${Bf}██${pf}████████${Bf}██ ${Bf}██${cf}████████${Bf}██
${Bf}██${yf}████${ON}${yfbright}██${OFF}${yf}████████${Bf}██ ██${yf}████████${ON}${yfbright}██${OFF}${yf}████${Bf}██ ${Bf}██${gf}████${Bf}██ ${Bf}██${bf}████${Bf}██ ${Bf}██${rf}████${Bf}██ ${Bf}██${pf}████${Bf}██ ${Bf}██${cf}████${Bf}██
${Bf}██████████████████████████████████████ ${Bf}████ ${Bf}████ ${Bf}████ ${Bf}████ ${Bf}████${reset}
EOF

View File

@ -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.
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"
blackfbright="${esc}[30m"; redfbright="${esc}[31m"; greenfbright="${esc}[32m"
yellowfbright="${esc}[33m" bluefbright="${esc}[34m"; purplefbright="${esc}[35m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}${redfbright}▒▒${reset} ${greenf}▒▒▒▒${reset} ${boldon}${greenfbright}▒▒${reset} ${yellowf}▒▒▒▒${reset} ${boldon}${yellowfbright}▒▒${reset} ${bluef}▒▒▒▒${reset} ${boldon}${bluefbright}▒▒${reset} ${purplef}▒▒▒▒${reset} ${boldon}${purplefbright}▒▒${reset} ${cyanf}▒▒▒▒${reset} ${boldon}${cyanfbright}▒▒${reset}
${redf}▒▒ ■${reset} ${boldon}${redfbright}▒▒${reset} ${greenf}▒▒ ■${reset} ${boldon}${greenfbright}▒▒${reset} ${yellowf}▒▒ ■${reset} ${boldon}${yellowfbright}▒▒${reset} ${bluef}▒▒ ■${reset} ${boldon}${bluefbright}▒▒${reset} ${purplef}▒▒ ■${reset} ${boldon}${purplefbright}▒▒${reset} ${cyanf}▒▒ ■${reset} ${boldon}${cyanfbright}▒▒${reset}
${redf}▒▒ ${reset}${boldon}${redfbright}▒▒▒▒${reset} ${greenf}▒▒ ${reset}${boldon}${greenfbright}▒▒▒▒${reset} ${yellowf}▒▒ ${reset}${boldon}${yellowfbright}▒▒▒▒${reset} ${bluef}▒▒ ${reset}${boldon}${bluefbright}▒▒▒▒${reset} ${purplef}▒▒ ${reset}${boldon}${purplefbright}▒▒▒▒${reset} ${cyanf}▒▒ ${reset}${boldon}${cyanfbright}▒▒▒▒${reset}
EOF

View File

@ -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+90))m██▓▒░"
done
echo -en "\033[1;37m██"
echo -e "\033[0m"
echo

View File

@ -1,44 +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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}${redfbright}█ ▀${reset} ${greenf}▀ █${reset} ${boldon}${greenfbright}█ ▀${reset} ${yellowf}▀ █${reset} ${boldon}${yellowfbright}█ ▀${reset} ${bluef}▀ █${reset} ${boldon}${bluefbright}█ ▀${reset} ${purplef}▀ █${reset} ${boldon}${purplefbright}█ ▀${reset} ${cyanf}▀ █${reset} ${boldon}${cyanfbright}█ ▀${reset}
${redf}██${reset} ${boldon}${redfbright} ██${reset} ${greenf}██${reset} ${boldon}${greenfbright}██${reset} ${yellowf}██${reset} ${boldon}${yellowfbright}██${reset} ${bluef}██${reset} ${boldon}${bluefbright}██${reset} ${purplef}██${reset} ${boldon}${purplefbright}██${reset} ${cyanf}██${reset} ${boldon}${cyanfbright}██${reset}
${redf}▄ █${reset}${boldon}${redfbright} █ ▄ ${reset} ${greenf}▄ █ ${reset}${boldon}${greenfbright}█ ▄${reset} ${yellowf}▄ █ ${reset}${boldon}${yellowfbright}█ ▄${reset} ${bluef}▄ █ ${reset}${boldon}${bluefbright}█ ▄${reset} ${purplef}▄ █ ${reset}${boldon}${purplefbright}█ ▄${reset} ${cyanf}▄ █ ${reset}${boldon}${cyanfbright}█ ▄${reset}
EOF

View File

@ -1,27 +0,0 @@
#!/usr/bin/env bash
# Author: HostGrady
# Font used: https://patorjk.com/software/taag/#p=display&f=Cricket&t=suckless
if [ -x "$(command -v tput)" ]; then
bold="$(tput bold)"
blue="$(tput setaf 4)"
cyan="$(tput setaf 6)"
reset="$(tput sgr0)"
fi
art="${bold}${blue} __ __
.-----.--.--.----| |--| .-----.-----.-----.
|__ --| | | __| <| | -__|__ --|__ --|
|_____|_____|____|__|__|__|_____|_____|_____|
${reset}${cyan} software that sucks less${reset} "
# use this as a base if you want to redo this one
#art=" __ __
#.-----.--.--.----| |--| .-----.-----.-----.
#|__ --| | | __| <| | -__|__ --|__ --|
#|_____|_____|____|__|__|__|_____|_____|_____|
# software that sucks less "
echo "$art"

View File

@ -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.
# 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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}${redfbright} █ ${reset} ${boldon}${greenfbright} █ ${reset} ${boldon}${yellowfbright} █ ${reset} ${boldon}${bluefbright} █ ${reset} ${boldon}${purplefbright} █ ${reset} ${boldon}${cyanfbright} █ ${reset}
${boldon}${redfbright}▄▄ █ ▄▄${reset} ${boldon}${greenfbright}▄▄ █ ▄▄${reset} ${boldon}${yellowfbright}▄▄ █ ▄▄${reset} ${boldon}${bluefbright}▄▄ █ ▄▄${reset} ${boldon}${purplefbright}▄▄ █ ▄▄${reset} ${boldon}${cyanfbright}▄▄ █ ▄▄${reset}
${boldon}${redfbright}███▀▀▀███${reset} ${boldon}${greenfbright}███▀▀▀███${reset} ${boldon}${yellowfbright}███▀▀▀███${reset} ${boldon}${bluefbright}███▀▀▀███${reset} ${boldon}${purplefbright}███▀▀▀███${reset} ${boldon}${cyanfbright}███▀▀▀███${reset}
${boldon}${redfbright}███ █ ███${reset} ${boldon}${greenfbright}███ █ ███${reset} ${boldon}${yellowfbright}███ █ ███${reset} ${boldon}${bluefbright}███ █ ███${reset} ${boldon}${purplefbright}███ █ ███${reset} ${boldon}${cyanfbright}███ █ ███${reset}
${boldon}${redfbright}██ ▀▀▀ ██${reset} ${boldon}${greenfbright}██ ▀▀▀ ██${reset} ${boldon}${yellowfbright}██ ▀▀▀ ██${reset} ${boldon}${bluefbright}██ ▀▀▀ ██${reset} ${boldon}${purplefbright}██ ▀▀▀ ██${reset} ${boldon}${cyanfbright}██ ▀▀▀ ██${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

View File

@ -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

View File

@ -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=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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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} ▄█▀ █ █ ▀█▄ ${greenf} ▄█▀ █ █ ▀█▄ ${yellowf} ▄█▀ █ █ ▀█▄ ${bluef} ▄█▀ █ █ ▀█▄ ${purplef} ▄█▀ █ █ ▀█▄ ${cyanf} ▄█▀ █ █ ▀█▄
${redf}███ ███ ███ ${greenf}███ ███ ███ ${yellowf}███ ███ ███ ${bluef}███ ███ ███ ${purplef}███ ███ ███ ${cyanf}███ ███ ███
${redf}█████████████ ${greenf}█████████████ ${yellowf}█████████████ ${bluef}█████████████ ${purplef}█████████████ ${cyanf}█████████████
${redf} ▀██▄ ▄██▀ ${greenf} ▀██▄ ▄██▀ ${yellowf} ▀██▄ ▄██▀ ${bluef} ▀██▄ ▄██▀ ${purplef} ▀██▄ ▄██▀ ${cyanf} ▀██▄ ▄██▀
${boldon}
${redfbright} ▄█▀ █ █ ▀█▄ ${greenfbright} ▄█▀ █ █ ▀█▄ ${yellowfbright} ▄█▀ █ █ ▀█▄ ${bluefbright} ▄█▀ █ █ ▀█▄ ${purplefbright} ▄█▀ █ █ ▀█▄ ${cyanfbright} ▄█▀ █ █ ▀█▄
${redfbright}███ ███ ███ ${greenfbright}███ ███ ███ ${yellowfbright}███ ███ ███ ${bluefbright}███ ███ ███ ${purplefbright}███ ███ ███ ${cyanfbright}███ ███ ███
${redfbright}█████████████ ${greenfbright}█████████████ ${yellowfbright}█████████████ ${bluefbright}█████████████ ${purplefbright}█████████████ ${cyanfbright}█████████████
${redfbright} ▀██▄ ▄██▀ ${greenfbright} ▀██▄ ▄██▀ ${yellowfbright} ▀██▄ ▄██▀ ${bluefbright} ▀██▄ ▄██▀ ${purplefbright} ▀██▄ ▄██▀ ${cyanfbright} ▀██▄ ▄██▀
${reset}
EOF

View File

@ -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.
# 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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}
${redfbright} ▄█ █▄ ${greenfbright} ▄▄ ▄▄ ${yellowfbright} ▄▄ ▄▄ ${bluefbright} ▄▄ ▄▄ ${purplefbright} ▄▄ ▄▄ ${cyanfbright} ▄█ █▄
${redfbright} ▄█▀ ▄▄▄ ▀█▄ ${greenfbright} ▄█▀ ▄▄▄ ▀█▄ ${yellowfbright} ▄█▀ ▄▄▄ ▀█▄ ${bluefbright} ▄█▀ ▄▄▄ ▀█▄ ${purplefbright} ▄█▀ ▄▄▄ ▀█▄ ${cyanfbright} ▄█▀ ▄▄▄ ▀█▄
${redfbright} ██▄▄██▀██▄▄██ ${greenfbright} ██▄▄██▀██▄▄██ ${yellowfbright} ██▄▄██▀██▄▄██ ${bluefbright} ██▄▄██▀██▄▄██ ${purplefbright} ██▄▄██▀██▄▄██ ${cyanfbright} ██▄▄██▀██▄▄██
${redfbright} ██▀▀█████▀▀██ ${greenfbright} ██▀▀█████▀▀██ ${yellowfbright} ██▀▀█████▀▀██ ${bluefbright} ██▀▀█████▀▀██ ${purplefbright} ██▀▀█████▀▀██ ${cyanfbright} ██▀▀█████▀▀██
${redfbright} ▀█▄ ▀▀▀ ▄█▀ ${greenfbright} ▀█▄ ▀▀▀ ▄█▀ ${yellowfbright} ▀█▄ ▀▀▀ ▄█▀ ${bluefbright} ▀█▄ ▀▀▀ ▄█▀ ${purplefbright} ▀█▄ ▀▀▀ ▄█▀ ${cyanfbright} ▀█▄ ▀▀▀ ▄█▀
${redfbright} ▀█ █▀ ${greenfbright} ▀▀ ▀▀ ${yellowfbright} ▀▀ ▀▀ ${bluefbright} ▀▀ ▀▀ ${purplefbright} ▀▀ ▀▀ ${cyanfbright} ▀█ █▀
${reset}
EOF

View File

@ -1,62 +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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}
${redfbright} ▄█ █▄ ${greenfbright} ▄▄ ▄▄ ${yellowfbright} ▄▄ ▄▄ ${bluefbright} ▄▄ ▄▄ ${purplefbright} ▄▄ ▄▄ ${cyanfbright} ▄█ █▄
${redfbright} ▄█▀ ▄▄▄ ▀█▄ ${greenfbright} ▄█▀ ▄▄▄ ▀█▄ ${yellowfbright} ▄█▀ ▄▄▄ ▀█▄ ${bluefbright} ▄█▀ ▄▄▄ ▀█▄ ${purplefbright} ▄█▀ ▄▄▄ ▀█▄ ${cyanfbright} ▄█▀ ▄▄▄ ▀█▄
${redfbright} ██▄▄██▀██▄▄██ ${greenfbright} ██▄▄██▀██▄▄██ ${yellowfbright} ██▄▄██▀██▄▄██ ${bluefbright} ██▄▄██▀██▄▄██ ${purplefbright} ██▄▄██▀██▄▄██ ${cyanfbright} ██▄▄██▀██▄▄██
${redfbright} ██▀▀█████▀▀██ ${greenfbright} ██▀▀█████▀▀██ ${yellowfbright} ██▀▀█████▀▀██ ${bluefbright} ██▀▀█████▀▀██ ${purplefbright} ██▀▀█████▀▀██ ${cyanfbright} ██▀▀█████▀▀██
${redfbright} ▀█▄ ▀▀▀ ▄█▀ ${greenfbright} ▀█▄ ▀▀▀ ▄█▀ ${yellowfbright} ▀█▄ ▀▀▀ ▄█▀ ${bluefbright} ▀█▄ ▀▀▀ ▄█▀ ${purplefbright} ▀█▄ ▀▀▀ ▄█▀ ${cyanfbright} ▀█▄ ▀▀▀ ▄█▀
${redfbright} ▀█ █▀ ${greenfbright} ▀▀ ▀▀ ${yellowfbright} ▀▀ ▀▀ ${bluefbright} ▀▀ ▀▀ ${purplefbright} ▀▀ ▀▀ ${cyanfbright} ▀█ █▀
${reset}
EOF

View File

@ -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

View File

@ -1,57 +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"
blackfbright="${esc}[90m"; redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m"; purplefbright="${esc}[95m"
cyanfbright="${esc}[96m"; whitefbright="${esc}[97m"
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}
${redfbright} █ █ ${greenfbright}█ █ ${yellowfbright}█ █ ${bluefbright}█ █ ${purplefbright}█ █ ${cyanfbright}█ █
${redfbright} █ ▄▄▄ █ ${greenfbright}█ ▄▄▄ █ ${yellowfbright}█ ▄▄▄ █ ${bluefbright}█ ▄▄▄ █ ${purplefbright}█ ▄▄▄ █ ${cyanfbright}█ ▄▄▄ █
${redfbright} █▄▄██▀██▄▄█ ${greenfbright}█▄▄██▀██▄▄█ ${yellowfbright}█▄▄██▀██▄▄█ ${bluefbright}█▄▄██▀██▄▄█ ${purplefbright}█▄▄██▀██▄▄█ ${cyanfbright}█▄▄██▀██▄▄█
${redfbright} █▀▀█████▀▀█ ${greenfbright}█▀▀█████▀▀█ ${yellowfbright}█▀▀█████▀▀█ ${bluefbright}█▀▀█████▀▀█ ${purplefbright}█▀▀█████▀▀█ ${cyanfbright}█▀▀█████▀▀█
${redfbright} █ ▀▀▀ █ ${greenfbright}█ ▀▀▀ █ ${yellowfbright}█ ▀▀▀ █ ${bluefbright}█ ▀▀▀ █ ${purplefbright}█ ▀▀▀ █ ${cyanfbright}█ ▀▀▀ █
${redfbright} █ █ ${greenfbright}█ █ ${yellowfbright}█ █ ${bluefbright}█ █ ${purplefbright}█ █ ${cyanfbright}█ █
${reset}
EOF

View File

@ -1,103 +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.
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
# ▄█████▄
# █████████
# ████████▀██
# ██████████▄██
# ██▀▀███▀▀████
# ████ █ ██ ███
# █ ████
# █ ▄ ████
# ███▀▀▀▀▀▄▀████
# ██▀▀▀▀▀▀ ███▄
# ▄█▀ █████
# ███ ██████
# ███ ██████
# █▀██ ██████
# █ █ █ ████
# █ █ ██ ███
# ██ ▀ █▀ ████
# ███ ████
# █████ ███ ███
# █▀▀███ █████████
# ▄█ ███ █▀ ████ ▀█
# ▄█▀ ████ █ ▀ █
# █ ████ █ █ ██
# █ ██ █ █ ▀█
# █ █ █ █ █
# █ ███████████ ▄▀
# █▄ █ ▀▀▀▀▀▀▀ █ ▄▀
# ▀▀▀▀▀▄▄▄█▀ ▀▄ █
# ▀▀▀▀
# play with these to change:
tuxbg=${cyanb} # color behind tux
tuxfg=${blackf} # tux line color
# tip: auto update your drawings to see changes real-time
# while true; do (sleep 3s && clear && sh script); done
cat << EOF
${tuxfg}${tuxbg}
▄█████▄
█████████
${whiteb}████████▀██${tuxbg}
${whiteb}██████████▄██${tuxbg}
${whiteb}██▀▀███▀▀████${tuxbg}
${whiteb}████ █ ██ ███${tuxbg}
${yellowb}█ ████${tuxbg}
${yellowb}█ ▄ ████${tuxbg}
${yellowb}███▀▀▀▀▀▄${whiteb}▀████${tuxbg}
${whiteb}██▀▀▀▀▀▀ ███${tuxbg}▄
▄█${whiteb}▀ █████${tuxbg}
${whiteb}███ ██████${tuxbg}
${whiteb}███ ██████${tuxbg}
${whiteb}█▀██ ██████${tuxbg}
${whiteb}█ █ █ ████${tuxbg}
${whiteb}█ █ ██ ███${tuxbg}
${whiteb}██ ▀ █▀ ████${tuxbg}
${whiteb}███ ████${tuxbg}
${whiteb}█████ ███ ███${tuxbg}
${yellowb}█▀▀███${whiteb} █████████${tuxbg}
▄${yellowb}█ ███${whiteb} █${yellowb}▀ ████ ▀█${tuxbg}
▄█${yellowb}▀ ████${whiteb} █${yellowb} ▀ █${tuxbg}
█${yellowb} ████${whiteb} █ █${yellowb} ██${tuxbg}
█${yellowb} ██${whiteb} █ █${yellowb} ▀█${tuxbg}
█${yellowb} █${whiteb} █ █${yellowb} █${tuxbg}
█${yellowb} ███████████${yellowb} ▄${tuxbg}▀
█${yellowb}▄ █${tuxbg} ▀▀▀▀▀▀▀ █${yellowb} ▄${tuxbg}▀
▀▀▀▀▀${yellowb}▄▄▄█${tuxbg}▀ ▀${yellowb}▄ █${tuxbg}
▀▀▀▀${tuxbg}
${reset}
EOF

View File

@ -1,64 +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"
redfbright="${esc}[91m"; greenfbright="${esc}[92m"
yellowfbright="${esc}[93m" bluefbright="${esc}[94m";
cyanfbright="${esc}[96m"; purplefbright="${esc}[95m"
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
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓
░▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░
░▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░
░▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒
░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓░░░▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓░▓▓▓▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
░░░░▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓░
░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓░
░▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
░▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓░░░░ ░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▓
EOF

View File

@ -1,26 +0,0 @@
#!/usr/bin/env 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
for i in {0..7}; do
printf -v fbright$i %b "\e[9${i}m"
done
bld=$'\e[1m'
rst=$'\e[0m'
inv=$'\e[7m'
cat << EOF
$f1▀■▄ $f2▀■▄ $f3▀■▄ $f4▀■▄ $f5▀■▄ $f6▀■▄
$bld$fbright1▀■▄ $fbright2▀■▄ $fbright3▀■▄ $fbright4▀■▄ $fbright5▀■▄ $fbright6▀■▄$rst
EOF

View File

@ -0,0 +1,22 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"type": "file",
"source": "/Users/jirayu/.config/fastfetch/logo.txt",
"height": 25,
},
"modules": [
"title",
"separator",
"uptime",
"packages",
"shell",
"gpu",
"memory",
"swap",
"disk",
"battery",
"poweradapter",
"colors"
]
}

View File

@ -0,0 +1,12 @@
⠟⢦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⢷⡄⠈⡓⠢⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⠤⠂⢹
⠈⡷⡄⠈⠲⢤⣈⠻⠉⠛⠉⠉⠁⠒⠖⠉⠉⠉⠒⠶⢦⣤⠴⠒⢉⣡⠴⠀⢀⠏
⠀⢸⡿⡂⠀⠀⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⣴⡞⠉⠀⢀⣠⡞⠀
⠀⠀⢙⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠀⠀⢠⡼⡟⠀⠀
⠀⠀⡼⠋⠀⣤⣀⠀⠀⠀⠀⠀⠈⠐⣂⣄⠀⠀⠀⠀⠀⠀⠀⢀⠀⣰⡟⠁⠀⠀
⠀⢠⡇⠀⠀⠘⠛⠃⠀⠀⠀⠀⠾⣿⠿⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⢻⠀⠀⠀⠀
⠀⢸⡇⢺⡀⠀⢠⡒⠠⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⡀⠀⠀⠸⡇⠀⠀⠀
⠀⢸⡇⣘⠑⡀⠀⠙⢏⣁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠂⠀⣔⣇⠀⠀⠀
⠀⢸⡇⡁⠀⢳⣶⣾⣷⣦⣄⣀⡀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⠀⠀⠀
⠀⠸⡇⠁⠀⠀⢏⠉⠀⠀⠙⠛⠛⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⢈⡏⠀⠀⠀
⠀⠀⠯⣀⣈⣀⣈⣐⣲⣄⣄⣤⣴⣆⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣈⣛⡧⠀⠀⠀

View File

@ -1,79 +0,0 @@
# vim:ft=kitty
## name: Catppuccin Kitty Macchiato
## author: Catppuccin Org
## license: MIT
## upstream: https://github.com/catppuccin/kitty/blob/main/themes/macchiato.conf
## blurb: Soothing pastel theme for the high-spirited!
# The basic colors
foreground #cad3f5
background #24273a
selection_foreground #24273a
selection_background #f4dbd6
# Cursor colors
cursor #f4dbd6
cursor_text_color #24273a
# URL underline color when hovering with mouse
url_color #f4dbd6
# Kitty window border colors
active_border_color #b7bdf8
inactive_border_color #6e738d
bell_border_color #eed49f
# OS Window titlebar colors
wayland_titlebar_color system
macos_titlebar_color system
# Tab bar colors
active_tab_foreground #181926
active_tab_background #c6a0f6
inactive_tab_foreground #cad3f5
inactive_tab_background #1e2030
tab_bar_background #181926
# Colors for marks (marked text in the terminal)
mark1_foreground #24273a
mark1_background #b7bdf8
mark2_foreground #24273a
mark2_background #c6a0f6
mark3_foreground #24273a
mark3_background #7dc4e4
# The 16 terminal colors
# black
color0 #494d64
color8 #5b6078
# red
color1 #ed8796
color9 #ed8796
# green
color2 #a6da95
color10 #a6da95
# yellow
color3 #eed49f
color11 #eed49f
# blue
color4 #8aadf4
color12 #8aadf4
# magenta
color5 #f5bde6
color13 #f5bde6
# cyan
color6 #8bd5ca
color14 #8bd5ca
# white
color7 #b8c0e0
color15 #a5adcb

View File

@ -1,18 +0,0 @@
# BEGIN_KITTY_THEME
# Dracula
include current-theme.conf
# END_KITTY_THEME
font_family MesloLGS Nerd Font Mono
bold_font auto
italic_font auto
bold_italic_font auto
font_size 13.0
hide_window_decorations yes
background_opacity 1
cursor_blink_interval 0

View File

@ -1,54 +1,53 @@
{
"LuaSnip": { "branch": "master", "commit": "c9b9a22904c97d0eb69ccb9bab76037838326817" },
"alpha-nvim": { "branch": "main", "commit": "de72250e054e5e691b9736ee30db72c65d560771" },
"auto-session": { "branch": "main", "commit": "9c3f977aafb56bd73ba0d082c4dcbdba5666faf3" },
"LuaSnip": { "branch": "master", "commit": "5271933f7cea9f6b1c7de953379469010ed4553a" },
"alpha-nvim": { "branch": "main", "commit": "a35468cd72645dbd52c0624ceead5f301c566dff" },
"auto-session": { "branch": "main", "commit": "00334ee24b9a05001ad50221c8daffbeedaa0842" },
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
"catppuccin": { "branch": "main", "commit": "4bb938bbba41d306db18bf0eb0633a5f28fd7ba0" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"catppuccin": { "branch": "main", "commit": "fa42eb5e26819ef58884257d5ae95dd0552b9a66" },
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
"cmp-nvim-lsp": { "branch": "main", "commit": "a8912b88ce488f411177fc8aed358b04dc246d7b" },
"cmp-path": { "branch": "main", "commit": "c6635aae33a50d6010bf1aa756ac2398a2d54c32" },
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
"comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"conform.nvim": { "branch": "master", "commit": "a6f5bdb78caa305496357d17e962bbc4c0b392e2" },
"csvview.nvim": { "branch": "main", "commit": "545da7939fd295c4c95e606173f5d00658d66abc" },
"conform.nvim": { "branch": "master", "commit": "0e93e0d12d2f7ebdea9e3e444dfaff0050cefbe6" },
"csvview.nvim": { "branch": "main", "commit": "c44d9ed0664de67f3ac333fe83cb187ab241f82a" },
"easytables.nvim": { "branch": "master", "commit": "ae57fdaad25a5f9ac2773ebdb8782c7bbc7d8932" },
"follow-md-links.nvim": { "branch": "main", "commit": "ce8735a15dc3e5fc5bb052ec51b849c03e57df53" },
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
"gitsigns.nvim": { "branch": "main", "commit": "4c40357994f386e72be92a46f41fc1664c84c87d" },
"indent-blankline.nvim": { "branch": "master", "commit": "e10626f7fcd51ccd56d7ffc00883ba7e0aa28f78" },
"lazy.nvim": { "branch": "main", "commit": "e5e9bf48211a13d9ee6c1077c88327c49c1ab4a0" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"gitsigns.nvim": { "branch": "main", "commit": "d0f90ef51d4be86b824b012ec52ed715b5622e51" },
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
"lspkind.nvim": { "branch": "master", "commit": "d79a1c3299ad0ef94e255d045bed9fa26025dab6" },
"lualine.nvim": { "branch": "master", "commit": "f4f791f67e70d378a754d02da068231d2352e5bc" },
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
"markdown-toc.nvim": { "branch": "main", "commit": "049451fe7825f55e9b17ae1297a538278ffc557a" },
"markdown.nvim": { "branch": "main", "commit": "57fa691b9e374c6539cc0340062dac8f42d4bd8b" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" },
"mason-tool-installer.nvim": { "branch": "main", "commit": "374c78d3ebb5c53f43ea6bd906b6587b5e899b9e" },
"mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
"lualine.nvim": { "branch": "master", "commit": "a94fc68960665e54408fe37dcf573193c4ce82c9" },
"markdown.nvim": { "branch": "main", "commit": "6f5a4c36d9383b2a916facaa63dcd573afa11ee8" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "bef29b653ba71d442816bf56286c2a686210be04" },
"mason-tool-installer.nvim": { "branch": "main", "commit": "93a9ff9b34c91c0cb0f7de8d5f7e4abce51d8903" },
"mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" },
"neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" },
"noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" },
"nui.nvim": { "branch": "main", "commit": "53e907ffe5eedebdca1cd503b00aa8692068ca46" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim-FeMaco.lua": { "branch": "main", "commit": "96bbf843595dbe865838b3f2484b73557f34700c" },
"nvim-autopairs": { "branch": "master", "commit": "68f0e5c3dab23261a945272032ee6700af86227a" },
"nvim-autopairs": { "branch": "master", "commit": "4d74e75913832866aa7de35e4202463ddf6efd1b" },
"nvim-bufdel": { "branch": "main", "commit": "523d58e94e7212fff3e05c247b962dc8f93bcfde" },
"nvim-cmp": { "branch": "main", "commit": "12509903a5723a876abd65953109f926f4634c30" },
"nvim-lint": { "branch": "master", "commit": "6e9dd545a1af204c4022a8fcd99727ea41ffdcc8" },
"nvim-lspconfig": { "branch": "master", "commit": "6b63bdf2399b9bedf93297d98419550523a9ad68" },
"nvim-notify": { "branch": "master", "commit": "22f29093eae7785773ee9d543f8750348b1a195c" },
"nvim-tree.lua": { "branch": "master", "commit": "6709463b2d18e77f7a946027917aa00d4aaed6f4" },
"nvim-treesitter": { "branch": "master", "commit": "5774e7d3da4f681296a87fcd85d17779ad362a4f" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "ad8f0a472148c3e0ae9851e26a722ee4e29b1595" },
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
"nvim-lint": { "branch": "master", "commit": "cc26ae6a620298bb3f33b0e0681f99a10ae57781" },
"nvim-lspconfig": { "branch": "master", "commit": "a182334ba933e58240c2c45e6ae2d9c7ae313e00" },
"nvim-notify": { "branch": "master", "commit": "b5825cf9ee881dd8e43309c93374ed5b87b7a896" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "0f051e9813a36481f48ca1f833897210dbcfffde" },
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
"nvim-web-devicons": { "branch": "master", "commit": "1020869742ecb191f260818234517f4a1515cfe8" },
"nvim-web-devicons": { "branch": "master", "commit": "1fb58cca9aebbc4fd32b086cb413548ce132c127" },
"oil.nvim": { "branch": "master", "commit": "08c2bce8b00fd780fb7999dbffdf7cd174e896fb" },
"orgmode": { "branch": "master", "commit": "01e0924e38c7525fc0db22639abf39cf2dd3042d" },
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "2a5ceff981501cff8f46871d5402cd3378a8ab6a" },
"telescope-live-grep-args.nvim": { "branch": "master", "commit": "649b662a8f476fd2c0289570764459e95ebaa3f3" },
"smart-splits.nvim": { "branch": "master", "commit": "9af865e451e55a9835fae6862dd7c55396870ecb" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
"telescope-live-grep-args.nvim": { "branch": "master", "commit": "b80ec2c70ec4f32571478b501218c8979fab5201" },
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
"template.nvim": { "branch": "main", "commit": "59955db23613985e031d340756d5c01aebd583a3" },
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
"vim-fugitive": { "branch": "master", "commit": "4a745ea72fa93bb15dd077109afbb3d1809383f2" },
"vim-surround": { "branch": "master", "commit": "3d188ed2113431cf8dac77be61b842acb64433d9" },
"vim-tmux-navigator": { "branch": "master", "commit": "d847ea942a5bb4d4fab6efebc9f30d787fd96e65" },
"vimtex": { "branch": "master", "commit": "63ae2e94b0fabc6bdad0a685c1ef0a7e0705fe7b" },
"vimtex": { "branch": "master", "commit": "22d9ae5265df069cb68310449a7218b836875c5b" },
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }
}

View File

@ -3,6 +3,6 @@ return {
name = "catppuccin",
priority = 1000,
config = function()
vim.cmd([[colorscheme catppuccin]])
vim.cmd([[colorscheme catppuccin-macchiato]])
end,
}

View File

@ -16,14 +16,6 @@ opt.wrap = false
opt.ignorecase = true
opt.smartcase = true
-- folding
opt.foldmethod = "indent"
opt.foldlevelstart = 0
opt.foldlevel = 0
-- Disable folding in Telescope's result window.
vim.api.nvim_create_autocmd("FileType", { pattern = "TelescopeResults", command = [[setlocal nofoldenable]] })
-- undo
opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
opt.undofile = true
@ -32,9 +24,6 @@ opt.undofile = true
opt.hlsearch = false
opt.incsearch = true
-- cursor always stays in the middle
opt.scrolloff = 999
-- colorscheme
opt.termguicolors = true
opt.background = "dark"
@ -52,6 +41,9 @@ opt.splitbelow = true
opt.iskeyword:append("-")
-- concealer
opt.conceallevel = 2
vim.cmd([[autocmd BufEnter *.pdf execute "!zathura '%'" | bdelete %]])
vim.cmd([[autocmd BufEnter *.jpg execute "!open '%'" | bdelete %]])
vim.cmd([[autocmd BufEnter *.png execute "!open '%'" | bdelete %]])

View File

@ -9,7 +9,7 @@ return {
-- Set menu
dashboard.section.buttons.val = {
dashboard.button("e", " > New File", "<cmd>ene<CR>"),
dashboard.button("SPC ee", " > Toggle file explorer", "<cmd>NvimTreeToggle<CR>"),
dashboard.button("SPC ee", " > Toggle file explorer", "<cmd>Oil<CR>"),
dashboard.button("SPC ff", "󰱼 > Find File", "<cmd>Telescope find_files<CR>"),
dashboard.button("SPC fs", " > Find Word", "<cmd>Telescope live_grep<CR>"),
dashboard.button("SPC sr", "󰦛 > Resore Session", "<cmd>SessionRestore<CR>"),

View File

@ -1,7 +1,6 @@
return {
{ "nvim-lua/plenary.nvim" },
{ "tpope/vim-surround" },
{ "christoomey/vim-tmux-navigator" },
{ "tpope/vim-fugitive" },
{ "jghauser/follow-md-links.nvim" },
}

View File

@ -14,7 +14,7 @@ return {
local capabilities = cmp_nvim_lsp.default_capabilities()
mason_lspconfig.setup_handlers({
mason_lspconfig.setup({
function(server_name)
lspconfig[server_name].setup({
capabilities = capabilities,
@ -22,7 +22,7 @@ return {
end,
})
lspconfig["lua_ls"].setup({
vim.lsp.config("lua_ls", {
capabilities = capabilities,
settings = { -- custom settings for lua
Lua = {
@ -40,7 +40,7 @@ return {
},
},
})
lspconfig["pyright"].setup({
vim.lsp.config("pyright", {
capabilities = capabilities,
filetypes = { "python" },
settings = {
@ -49,14 +49,20 @@ return {
},
},
})
lspconfig["ltex"].setup({
vim.lsp.config("ltex", {
settings = {
ltex = {
language = "de-CH",
checkFrequency = "save",
},
},
})
vim.diagnostic.config({
virtual_text = true,
signs = true,
})
wk.add({
{ "<leader>l", group = "lsp", icon = "" },
{ "<leader>lr", "<cmd>Telescope lsp_references<CR>", desc = "Show references", icon = "" },

View File

@ -1,8 +0,0 @@
return {
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = function()
vim.fn["mkdp#util#install"]()
end,
}

View File

@ -1,18 +0,0 @@
return {
"hedyhli/markdown-toc.nvim",
ft = "markdown",
opts = {
fences = {
enabled = true,
start_text = "toc-start",
end_text = "toc-end",
},
auto_update = true,
toc_list = {
markers = "1.",
cycle_markers = false,
},
},
}

View File

@ -1,49 +0,0 @@
return {
"nvim-tree/nvim-tree.lua",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function()
local nvimtree = require("nvim-tree")
local wk = require("which-key")
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
nvimtree.setup({
view = {
width = 35,
relativenumber = true,
},
renderer = {
indent_markers = {
enable = true,
},
icons = {
glyphs = {
folder = {
arrow_closed = "", -- arrow when folder is closed
arrow_open = "", -- arrow when folder is open
},
},
},
},
actions = {
open_file = {
window_picker = {
enable = false,
},
},
},
filters = {
custom = { ".DS_Store" },
},
git = {
ignore = false,
},
})
wk.add({
{ "<leader>e", group = "explorer", icon = "" },
{ "<leader>ee", "<cmd>NvimTreeToggle<CR>", desc = "Toggle File Explorer", icon = "" },
{ "<leader>er", "<cmd>NvimTreeRefresh<CR>", desc = "Refresh File Explorer", icon = "󰑓" },
})
end,
}

View File

@ -0,0 +1,19 @@
return {
"stevearc/oil.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
lazy = false,
config = function()
local oil = require("oil")
local wk = require("which-key")
oil.setup({
view_options = {
show_hidden = true,
},
})
wk.add({
{ "<leader>ee", "<cmd>Oil<CR>", desc = "File Explorer", icon = "" },
})
end,
}

View File

@ -0,0 +1,8 @@
return {
"nvim-orgmode/orgmode",
event = "VeryLazy",
config = function()
-- Setup orgmode
require("orgmode").setup()
end,
}

View File

@ -0,0 +1,18 @@
return {
"mrjones2014/smart-splits.nvim",
config = function()
local smart_splits = require("smart-splits")
smart_splits.setup({})
vim.keymap.set("n", "<C-S-h>", smart_splits.resize_left)
vim.keymap.set("n", "<C-S-j>", smart_splits.resize_down)
vim.keymap.set("n", "<C-S-k>", smart_splits.resize_up)
vim.keymap.set("n", "<C-S-l>", smart_splits.resize_right)
-- moving between splits
vim.keymap.set("n", "<C-h>", smart_splits.move_cursor_left)
vim.keymap.set("n", "<C-j>", smart_splits.move_cursor_down)
vim.keymap.set("n", "<C-k>", smart_splits.move_cursor_up)
vim.keymap.set("n", "<C-l>", smart_splits.move_cursor_right)
end,
}

View File

@ -27,6 +27,7 @@ return {
{ "<leader>fc", "<cmd>Telescope grep_string<CR>", desc = "Find String in File", icon = "" },
{ "<leader>fg", "<cmd>Telescope git_files<CR>", desc = "Find git files", icon = "" },
{ "<leader>ft", "<cmd>TodoTelescope<CR>", desc = "Find todos", icon = "" },
{ "<leader>fn", "<cmd>Telescope neorg switch_workspace<CR>", desc = "Neorg Workspaces", icon = "" },
})
end,
}

View File

@ -16,12 +16,8 @@ return {
wk.add({
{ "<leader>v", group = "vimtex", icon = "" },
{ "<leader>vc", "<cmd>VimtexCompile>CR>", desc = "Compile LaTex File", icon = "" },
{ "<leader>vo", "<cmd>VimtexView<CR>", desc = "Open compiled PDF in Zathura", icon = "" },
{ "<leader>vd", group = "delete", icon = "" },
{ "<leader>vde", "<Plug>(vimtex-env-delete)", desc = "Delete surrounding environment" },
{ "<leader>vc", group = "change", icon = "" },
{ "<leader>vt", group = "toggle", icon = "" },
{ "<leader>vc", "<cmd>VimtexCompile>CR>", desc = "Compile LaTeX File", icon = "" },
{ "<leader>vc", "<cmd>VimtexClean>CR>", desc = "Clean LaTeX directory", icon = "" },
})
end,
}

1233
.config/nvim/noice.log Normal file

File diff suppressed because one or more lines are too long

View File

@ -793,27 +793,43 @@ local underbrace = s(
)
table.insert(autosnippets, underbrace)
local curlybracesr = s(
{ trig = "cubr(%d)", regTrig = true, desc = "Curly Braces pointing right" },
local curlybracesl = s(
{ trig = "cubl(%d) (%d)", regTrig = true, desc = "Curly Braces pointing left" },
fmt(
[[
{} = \left\{{
\begin{{array}}{{lr}}
{}
\end{{array}}
\right.
\begin{{cases}}
{}
\end{{cases}}
{}
]],
{
i(1, "Function or Variable"),
d(2, function(_, snip)
local col = tonumber(snip.captures[2])
local row = tonumber(snip.captures[1])
local node = {}
local p = 1
table.insert(node, i(p))
for j = 1, row - 1 do
table.insert(node, i(j))
table.insert(node, t({ " \\\\", " " }))
for k = 1, col - 1 do
p = p + 1
table.insert(node, t(" & "))
table.insert(node, i(p))
k = k + 1
end
table.insert(node, t(" \\\\"))
table.insert(node, t({ "\\\\", " " }))
p = p + 1
table.insert(node, i(p))
j = j + 1
end
for k = 1, col - 1 do
p = p + 1
table.insert(node, t(" & "))
table.insert(node, i(p))
k = k + 1
end
table.insert(node, t("\\\\"))
return sn(nil, node)
end),
i(0),
@ -824,28 +840,44 @@ local curlybracesr = s(
show_condition = math,
}
)
table.insert(autosnippets, curlybracesr)
table.insert(autosnippets, curlybracesl)
local curlybracesl = s(
{ trig = "cubl(%d)", regTrig = true, desc = "Curly Braces pointing left" },
local curlybracesr = s(
{ trig = "cubr(%d) (%d)", regTrig = true, desc = "Curly Braces pointing right" },
fmt(
[[
\left\.
\begin{{array}}{{rl}}
\begin{{cases}}
{}
\end{{cases}}
{}
\end{{array}}
\right}} {}
{}
]],
{
d(1, function(_, snip)
local col = tonumber(snip.captures[2])
local row = tonumber(snip.captures[1])
local node = {}
local p = 1
table.insert(node, i(p))
for j = 1, row - 1 do
table.insert(node, i(j))
table.insert(node, t({ " \\\\", " " }))
for k = 1, col - 1 do
p = p + 1
table.insert(node, t(" & "))
table.insert(node, i(p))
k = k + 1
end
table.insert(node, t(" \\\\"))
table.insert(node, t({ "\\\\", " " }))
p = p + 1
table.insert(node, i(p))
j = j + 1
end
for k = 1, col - 1 do
p = p + 1
table.insert(node, t(" & "))
table.insert(node, i(p))
k = k + 1
end
table.insert(node, t("\\\\"))
return sn(nil, node)
end),
i(2, "Function or Variable"),
@ -857,7 +889,7 @@ local curlybracesl = s(
show_condition = math,
}
)
table.insert(autosnippets, curlybracesl)
table.insert(autosnippets, curlybracesr)
local sum = s(
{ trig = "sum", desc = "Sum" },

View File

@ -1,44 +1,14 @@
#!/bin/bash
export WHITE=0xffeeeeee
export WHITE="0xffeeeeee"
# -- Dracula Scheme --
export BAR_COLOR=0xff262626
export ITEM_BG_COLOR=0xff4e4e4e
export ACCENT_COLOR=0xff8A8FA9
# -- Gray Scheme --
# export BAR_COLOR=0xff101314
# export ITEM_BG_COLOR=0xff353c3f
# export ACCENT_COLOR=0xffffffff
# -- Purple Scheme --
# export BAR_COLOR=0xff140c42
# export ITEM_BG_COLOR=0xff2b1c84
# export ACCENT_COLOR=0xffeb46f9
# -- Red Scheme ---
# export BAR_COLOR=0xff23090e
# export ITEM_BG_COLOR=0xff591221
# export ACCENT_COLOR=0xffff2453
# -- Blue Scheme ---
# export BAR_COLOR=0xff021254
# export ITEM_BG_COLOR=0xff093aa8
# export ACCENT_COLOR=0xff15bdf9
# -- Green Scheme --
# export BAR_COLOR=0xff003315
# export ITEM_BG_COLOR=0xff008c39
# export ACCENT_COLOR=0xff1dfca1
# -- Orange Scheme --
# export BAR_COLOR=0xff381c02
# export ITEM_BG_COLOR=0xff99440a
# export ACCENT_COLOR=0xfff97716
# -- Yellow Scheme --
# export BAR_COLOR=0xff2d2b02
# export ITEM_BG_COLOR=0xff8e7e0a
# export ACCENT_COLOR=0xfff7fc17
# -- Catppuccin --
export BAR_COLOR="0xff24273a"
export ITEM_BG_COLOR="0xff494d64"
export RED="0xffed8796"
export PEACH="0xfff5a97f"
export YELLOW="0xffeed49f"
export GREEN="0xffa6da95"
export BLUE="0xff8aadf4"
export TEXT="0xffcad3f5"
export MAUVE="0xffc6a0f6"

View File

@ -3,4 +3,11 @@
sketchybar --add item battery right \
--set battery update_freq=120 \
script="$PLUGIN_DIR/battery.sh" \
click_script="$PLUGIN_DIR/battery_popup.sh" \
--subscribe battery system_woke power_source_change
sketchybar --add item batteryStatus popup.battery
sketchybar --add item batteryMaintain popup.battery
sketchybar --add item batteryCharge popup.battery

View File

@ -0,0 +1,10 @@
#!/bin/bash
sketchybar --add item front_app q \
--set front_app background.color=$ITEM_BG_COLOR \
icon.color=$BLUE \
icon.font="sketchybar-app-font:Regular:16.0" \
label.color=$BLUE \
script="$PLUGIN_DIR/front_app.sh" \
associated_display=1 \
--subscribe front_app front_app_switched

View File

@ -1,12 +0,0 @@
#!/bin/bash
sketchybar --add item media e \
--set media label.color=$ACCENT_COLOR \
label.max_chars=20 \
icon.padding_left=0 \
scroll_texts=on \
icon=\
icon.color=$ACCENT_COLOR \
background.drawing=off \
script="$PLUGIN_DIR/media.sh" \
--subscribe media media_change

View File

@ -0,0 +1,13 @@
#!/bin/bash
sketchybar --add item pomodoro e \
--set pomodoro update_freq=1 \
associated_display=1 \
script="$PLUGIN_DIR/pomodoro.sh" \
click_script="$PLUGIN_DIR/pomodoro_popup.sh"
sketchybar --add item focus popup.pomodoro
sketchybar --add item shortBreak popup.pomodoro
sketchybar --add item longBreak popup.pomodoro

View File

@ -11,7 +11,5 @@ do
--set $str icon=$str \
associated_display=1 \
label.font="sketchybar-app-font:Regular:16.0" \
label.padding_right=20 \
label.y_offset=-1\
script="$PLUGIN_DIR/space.sh $str"
done

View File

@ -0,0 +1,5 @@
#!/bin/bash
sketchybar --add item wifi right \
--set wifi update_freq=10 \
script="$PLUGIN_DIR/wifi.sh"

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
PERCENTAGE="$(pmset -g batt | grep -Eo "\d+%" | cut -d% -f1)"
CHARGING="$(pmset -g batt | grep 'AC Power')"
@ -8,21 +8,32 @@ if [ "$PERCENTAGE" = "" ]; then
fi
case "${PERCENTAGE}" in
9[0-9]|100) ICON=""
9[0-9]|100)
ICON=""
COLOR="0xFFA6DA95"
;;
[6-8][0-9]) ICON=""
[6-8][0-9])
ICON=""
COLOR="0xFFEED49F"
;;
[3-5][0-9]) ICON=""
[3-5][0-9])
ICON=""
COLOR="0xFFF5A97F"
;;
[1-2][0-9]) ICON=""
[1-2][0-9])
ICON=""
COLOR="0xFFED8796"
;;
*) ICON=""
*)
ICON=""
COLOR="0xFFED8796"
esac
if [[ "$CHARGING" != "" ]]; then
ICON=""
COLOR="0xFFA6DA95"
fi
# The item invoking this script (name $NAME) will get its icon and label
# updated with the current battery status
sketchybar --set "$NAME" icon="$ICON" label="${PERCENTAGE}%"
sketchybar --set "$NAME" icon.color="$COLOR" icon="$ICON" label.color="$COLOR" label="${PERCENTAGE}%"

View File

@ -0,0 +1,31 @@
#!/bin/bash
sketchybar --set battery popup.drawing=toggle \
popup.background.drawing=on \
popup.background.color="0xff363a4f" \
popup.background.corner_radius=3
if /usr/local/bin/battery status | grep -q 'Your battery'; then
sketchybar --set batteryStatus label="Maintaining" \
label.color="0xffa6da95"
sketchybar --set batteryMaintain label="Stop Maintaining" \
label.color="0xffed8796" \
click_script="/usr/local/bin/battery maintain stop && sketchybar --set battery popup.drawing=toggle"
else
sketchybar --set batteryStatus label="Not Maintaining" \
label.color="0xffed8796"
sketchybar --set batteryMaintain label="Maintain" \
label.color="0xffa6da95" \
click_script="/usr/local/bin/battery maintain 80 && sketchybar --set battery popup.drawing=toggle"
fi
if [[ "$CHARGING" != "" ]]; then
sketchybar --set batteryCharge label="Stop Charging" \
label.color="0xffed8796"\
click_script="/usr/local/bin/battery charging off && sketchybar --set battery popup.drawing=toggle"
else
sketchybar --set batteryCharge label="Start Charging" \
label.color="0xffa6da95"\
click_script="/usr/local/bin/battery charging on && sketchybar --set battery popup.drawing=toggle"
fi

View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ "$SENDER" = "front_app_switched" ]; then
sketchybar --set $NAME label="$INFO" icon="$($CONFIG_DIR/plugins/icon_map_fn.sh "$INFO")"
fi

View File

@ -1,4 +1,3 @@
#!/bin/bash
function icon_map() {
case "$1" in

View File

@ -1,9 +0,0 @@
#!/bin/bash
STATE="$(echo "$INFO" | jq -r '.state')"
if [ "$STATE" = "playing" ]; then
MEDIA="$(echo "$INFO" | jq -r '.title + " - " + .artist')"
sketchybar --set $NAME label="$MEDIA" drawing=on
else
sketchybar --set $NAME drawing=off
fi

View File

@ -0,0 +1,20 @@
#!/bin/bash
STATUS=$(/usr/local/bin/pomodoro status)
if [ -z "$STATUS" ]; then
sketchybar --set pomodoro icon="" \
label="Start a Session!" \
icon.color="0xffed8796" \
label.color="0xffed8796"
elif /usr/local/bin/pomodoro status | grep -q "❗"; then
sketchybar --set pomodoro icon="" \
label="Good Job!" \
icon.color="0xffed8796" \
label.color="0xffed8796"
elif /usr/local/bin/pomodoro status | grep -q "🍅"; then
sketchybar --set pomodoro icon="" \
label="$(/usr/local/bin/pomodoro status -f "%r")" \
icon.color="0xfff5bde6" \
label.color="0xfff5bde6"
fi

View File

@ -0,0 +1,40 @@
#!/bin/sh
sketchybar --set pomodoro popup.drawing=toggle \
popup.background.drawing=on \
popup.background.color="0xff363a4f" \
popup.background.corner_radius=3
STATUS=$(/usr/local/bin/pomodoro status)
if [ "$STATUS" = "" ]; then
sketchybar --set focus icon="󰣉" \
label="Focus 50:00" \
icon.color="0xfff5bde6" \
label.color="0xfff5bde6" \
click_script="/usr/local/bin/pomodoro start --duration 50 && sketchybar --set pomodoro popup.drawing=toggle"
sketchybar --set shortBreak icon="󱅻" \
label="Short Break 5:00" \
icon.color="0xffcad3f5" \
label.color="0xffcad3f5"
sketchybar --set longBreak icon="" \
label="Long Break 15:00" \
icon.color="0xffcad3f5" \
label.color="0xffcad3f5"
else
sketchybar --set focus icon="󰣉" \
label="Focus 50:00" \
icon.color="0xfff5bde6" \
label.color="0xfff5bde6" \
click_script="/usr/local/bin/pomodoro start --duration 50 && sketchybar --set pomodoro popup.drawing=toggle"
sketchybar --set shortBreak icon="󱅻" \
label="Short Break 5:00" \
icon.color="0xff91d7e3" \
label.color="0xff91d7e3" \
click_script="sketchybar --set pomodoro update_freq=0 icon='' label='Break Time!' icon.color='0xff91d7e3' label.color='0xff91d7e3' popup.drawing=toggle && /usr/local/bin/pomodoro break && sketchybar --set pomodoro update_freq=1"
sketchybar --set longBreak icon="" \
label="Long Break 15:00" \
icon.color="0xff91d7e3" \
label.color="0xff91d7e3" \
click_script="sketchybar --set pomodoro update_freq=0 icon='' label='Break Time!' icon.color='0xff91d7e3' label.color='0xff91d7e3' popup.drawing=toggle && /usr/local/bin/pomodoro break 15 && sketchybar --set pomodoro update_freq=1"
fi

View File

@ -4,29 +4,11 @@ source "$CONFIG_DIR/colors.sh"
if [ "$1" = "$FOCUSED_WORKSPACE" ]; then
sketchybar --set $NAME background.drawing=on \
background.color=$ACCENT_COLOR \
background.color=$BLUE \
label.color=$BAR_COLOR \
icon.color=$BAR_COLOR
else
sketchybar --set $NAME background.drawing=off \
label.color=$ACCENT_COLOR \
icon.color=$ACCENT_COLOR
fi
if [ "$SENDER" = "aerospace_workspace_change" ]; then
apps=$(aerospace list-windows --workspace $1 | awk -F'|' '{gsub(/^ *| *$/, "", $2); print $2}')
icon_strip=" "
if [ "${apps}" != "" ]; then
while read -r app
do
icon_strip+=" $($CONFIG_DIR/plugins/icon_map_fn.sh "$app")"
done <<< "${apps}"
else
icon_strip=" —"
fi
sketchybar --set $1 label="$icon_strip"
label.color=$BLUE \
icon.color=$BLUE
fi

View File

@ -7,14 +7,20 @@ if [ "$SENDER" = "volume_change" ]; then
VOLUME="$INFO"
case "$VOLUME" in
[6-9][0-9]|100) ICON="󰕾"
[6-9][0-9]|100)
ICON="󰕾"
COLOR="0xff8aadf4"
;;
[3-5][0-9]) ICON="󰖀"
[3-5][0-9])
ICON="󰖀"
COLOR="0xff8aadf4"
;;
[1-9]|[1-2][0-9]) ICON="󰕿"
;;
*) ICON="󰖁"
*)
ICON="󰖁"
COLOR="0xffed8796"
esac
sketchybar --set "$NAME" icon="$ICON" label="$VOLUME%"
sketchybar --set "$NAME" icon.color="$COLOR" icon="$ICON" label.color="$COLOR" label="$VOLUME%"
fi

View File

@ -0,0 +1,21 @@
#!/bin/sh
if networksetup -getairportpower en0 | grep -q "On"; then
SSID=$(ipconfig getsummary en0 | awk -F ' SSID : ' '/ SSID : / {print $2}')
if [ -z "$SSID" ]; then
sketchybar --set wifi icon="󱛅" \
label="Disconnected" \
label.color="0xffed8796" \
icon.color="0xffed8796"
else
sketchybar --set wifi icon="󰖩" \
label="$SSID" \
label.color="0xffc6a0f6" \
icon.color="0xffc6a0f6"
fi
else
sketchybar --set wifi icon="󰖪" \
label="Off" \
label.color="0xffed8796" \
icon.color="0xffed8796"
fi

View File

@ -9,6 +9,7 @@ source "$CONFIG_DIR/colors.sh"
PLUGIN_DIR="$CONFIG_DIR/plugins"
ITEM_DIR="$CONFIG_DIR/items"
HELPER_DIR="$CONFIG_DIR/helper"
##### Bar Appearance #####
# Configuring the general appearance of the bar.
@ -17,7 +18,7 @@ ITEM_DIR="$CONFIG_DIR/items"
# If you are looking for other colors, see the color picker:
# https://felixkratz.github.io/SketchyBar/config/tricks#color-picker
sketchybar --bar position=top height=30 blur_radius=30 color=$BAR_COLOR
sketchybar --bar position=top height=40 blur_radius=30 color=$BAR_COLOR notch_width=220
##### Changing Defaults #####
# We now change some default values, which are applied to all further items.
@ -27,10 +28,8 @@ sketchybar --bar position=top height=30 blur_radius=30 color=$BAR_COLOR
default=(
padding_left=5
padding_right=5
icon.font="MesloLGS Nerd Font:Bold:17.0"
label.font="MesloLGS Nerd Font:Bold:14.0"
icon.color=$WHITE
label.color=$WHITE
icon.font="JetBrainsMono Nerd Font:Bold:17.0"
label.font="JetBrainsMono Nerd Font:Bold:14.0"
background.color=$ITEM_BG_COLOR
background.corner_radius=5
background.height=24
@ -47,13 +46,15 @@ source $ITEM_DIR/spaces.sh
# --Middle Items --
source $ITEM_DIR/media.sh
source $ITEM_DIR/front_app.sh
source $ITEM_DIR/pomodoro.sh
# --Right Side Items --
source $ITEM_DIR/calendar.sh
source $ITEM_DIR/volume.sh
source $ITEM_DIR/battery.sh
source $ITEM_DIR/wifi.sh
##### Force all scripts to run the first time (never do this in a script) #####
sketchybar --update

View File

@ -10,7 +10,7 @@ add_newline = true
# Replace the '' symbol in the prompt with '➜'
[character] # The name of the module we are configuring is 'character'
success_symbol = '[ ](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green'
success_symbol = '[](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green'
# Git module
[git_branch]

View File

@ -1,96 +0,0 @@
######################
# Tmux config #
# Inspired by: #
# - josean.dev #
# - DevOps Toolbox #
######################
# Use RGB Colors
set -g default-terminal "screen-256color"
set -g base-index 1 # Start counting from 1
set -g status-position top # Position status bar at top
set -g renumber-windows on # Whenever a window is closed, renumber them
# Change prefix
set -g prefix C-a
unbind C-b
bind-key C-a send-prefix
######################
# Change keybindings #
######################
# Vertical window split
unbind %
bind - split-window -v
# Horizontal window split
unbind '"'
bind _ split-window -h
# Window resizing
bind -r j resize-pane -D 5
bind -r k resize-pane -U 5
bind -r h resize-pane -L 5
bind -r l resize-pane -R 5
bind -r m resize-pane -Z
# Vim keys
set-window-option -g mode-keys vi
############
# Vim Mode #
############
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection
unbind -T copy-mode-vi MouseDragEnd1Pane
unbind r
bind -r r source-file ~/.config/tmux/tmux.conf # Source config file
###########
# Plugins #
###########
set -g @plugin 'tmux-plugins/tpm' # Plugin Manager
set -g @plugin 'christoomey/vim-tmux-navigator' # vim-like navigation
set -g @plugin 'catppuccin/tmux' # Theme
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
#############################################################
# Catppuccin config #
# See https://github.com/catppuccin/tmux for more resources #
#############################################################
set -g @catppuccin_window_status_style "rounded"
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_window_text "#{window_name}"
set -g @catppuccin_window_current_text "#{window_name}"
set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_status_left_separator " "
set -g @catppuccin_status_right_separator " "
set -g @catppuccin_status_right_separator_inverse "no"
set -g @catppuccin_status_fill "icon"
set -g @catppuccin_status_connect_separator "no"
set -g @catppuccin_flavor 'macchiato'
set -g status-right-length 100
set -g status-left-length 100
set -g status-left "#{E:@catppuccin_status_session}"
set -g status-right "#{E:@catppuccin_status_directory}"
set -ag status-right "#{E:@catppuccin_status_date_time}"
####################
# Resurrect config #
####################
set -g @resurrect-capture-pane-contents 'on'
set -g @continuum-restore 'on'
run '~/.config/tmux/plugins/tpm/tpm'

View File

@ -1,45 +0,0 @@
" VIFM COLORS
" dracula
" based on: https://github.com/istib/dotfiles/blob/master/vifm/vifm-colors
" Default = -1 = None, can be used for transparency or default color
" Black = 0
" Red = 1
" Green = 2
" Yellow = 3
" Blue = 4
" Magenta = 5
" Cyan = 6
" White = 7
" STYLES
" bold
" underline
" reverse or inverse
" standout
" none
highlight clear
highlight Win cterm=none ctermfg=default ctermbg=none
highlight TopLine cterm=none ctermfg=blue ctermbg=none
highlight TopLineSel cterm=none ctermfg=magenta ctermbg=none
highlight StatusLine cterm=none ctermfg=blue ctermbg=none
highlight Border cterm=none ctermfg=blue ctermbg=none
highlight Selected cterm=bold ctermfg=magenta ctermbg=default
highlight CurrLine cterm=bold ctermfg=236 ctermbg=blue
highlight WildMenu cterm=none,reverse ctermfg=blue ctermbg=236
highlight CmdLine cterm=none ctermfg=255 ctermbg=236
highlight ErrorMsg cterm=none ctermfg=red ctermbg=black
highlight Directory cterm=none ctermfg=blue ctermbg=default
highlight Link cterm=none ctermfg=cyan ctermbg=default
highlight BrokenLink cterm=none ctermfg=red ctermbg=default
highlight Socket cterm=none ctermfg=magenta ctermbg=black
highlight Device cterm=none ctermfg=red ctermbg=default
highlight Fifo cterm=none ctermfg=yellow ctermbg=black
highlight Executable cterm=none ctermfg=green ctermbg=default

View File

@ -1,538 +0,0 @@
" vim: filetype=vifm :
" Sample configuration file for vifm (last updated: 8 August, 2022)
" You can edit this file by hand.
" The " character at the beginning of a line comments out the line.
" Blank lines are ignored.
" The basic format for each item is shown with an example.
" ------------------------------------------------------------------------------
" Main settings
" ------------------------------------------------------------------------------
" Command used to edit files in various contexts. The default is vim.
" If you would like to use another vi clone such as Elvis or Vile
" you will need to change this setting.
if executable('vim')
set vicmd=vim
elseif executable('nvim')
set vicmd=nvim
elseif executable('elvis')
set vicmd=elvis\ -G\ termcap
elseif executable('vile')
set vicmd=vile
elseif $EDITOR != ''
echo 'Note: using `'.$EDITOR.'` as an editor'
let &vicmd = $EDITOR
endif
" This makes vifm perform file operations on its own instead of relying on
" standard utilities like `cp`. While using `cp` and alike is a more universal
" solution, it's also much slower when processing large amounts of files and
" doesn't support progress measuring.
set syscalls
" Trash Directory
" The default is to move files that are deleted with dd or :d to
" the trash directory. If you change this you will not be able to move
" files by deleting them and then using p to put the file in the new location.
" I recommend not changing this until you are familiar with vifm.
" This probably shouldn't be an option.
set trash
" What should be saved automatically on restarting vifm. Drop "savedirs"
" value if you don't want vifm to remember last visited directories for you.
set vifminfo=dhistory,savedirs,chistory,state,tui,shistory,
\phistory,fhistory,dirstack,registers,bookmarks,bmarks
" This is how many directories to store in the directory history.
set history=100
" Automatically resolve symbolic links on l or Enter.
set nofollowlinks
" Natural sort of (version) numbers within text.
set sortnumbers
" Maximum number of changes that can be undone.
set undolevels=100
" Use Vim's format of help file (has highlighting and "hyperlinks").
" If you would rather use a plain text help file set novimhelp.
set vimhelp
" If you would like to run an executable file when you
" press Enter, l or Right Arrow, set this.
set norunexec
" List of color schemes to try (picks the first one supported by the terminal)
colorscheme dracula
" Format for displaying time in file list. For example:
" TIME_STAMP_FORMAT=%m/%d-%H:%M
" See man date or man strftime for details.
set timefmt='%Y/%m/%d %H:%M'
" Show list of matches on tab completion in command-line mode
set wildmenu
" Display completions in a form of popup with descriptions of the matches
set wildstyle=popup
" Display suggestions in normal, visual and view modes for keys, marks and
" registers (at most 5 files). In other view, when available.
set suggestoptions=normal,visual,view,otherpane,keys,marks,registers
" Ignore case in search patterns unless it contains at least one uppercase
" letter
set ignorecase
set smartcase
" Don't highlight search results automatically
set nohlsearch
" Use increment searching (search while typing)
set incsearch
" Try to leave some space from cursor to upper/lower border in lists
set scrolloff=4
" Don't do too many requests to slow file systems
if !has('win')
set slowfs=curlftpfs
endif
" Set custom status line look
set statusline=" Hint: %z%= %A %10u:%-7g %15s %20d "
" ------------------------------------------------------------------------------
" Bookmarks
" ------------------------------------------------------------------------------
" :mark mark /full/directory/path [filename]
mark b ~/bin/
mark h ~/
" ------------------------------------------------------------------------------
" Commands
" ------------------------------------------------------------------------------
" :com[mand][!] command_name action
"
" These are some of the macros that can be used in the action part:
" %a for user arguments
" %c for current file under the cursor
" %C for current file under the cursor of inactive pane
" %f for selected file(s)
" %F for selected file(s) of inactive pane
" %b is the same as %f %F
" %d for current directory name
" %D for current directory name of inactive pane
" %r{x} for list of files in register {x}
" %m runs the command in a menu window
" %u uses command's output to build a file list
" see `:help vifm-macros` and `:help vifm-filename-modifiers` for more
command! df df -h %m 2> /dev/null
command! diff vim -d %f %F
command! zip zip -r %c.zip %f
command! run !! ./%f
command! make !!make %a
command! mkcd :mkdir %a | cd %a
command! vgrep vim "+grep %a"
command! reload :write | restart full
" ------------------------------------------------------------------------------
" File types association
" ------------------------------------------------------------------------------
" :filetype pattern1,pattern2 defaultprogram,program2
" :fileviewer pattern1,pattern2 consoleviewer
"
" The first entry is the default program to be used with a matching file.
" The other programs for the file type can be accessed via :file command.
" The command macros like %f, %F, %d, %D may be used in the commands.
" The %a macro is ignored. To use a % you must put %%.
" Spaces in an app name must be escaped, for example: QuickTime\ Player.app
" For automated FUSE mounts, you must register an extension with :file[x]type
" in one of the following formats:
"
" :filetype patterns FUSE_MOUNT|mount_cmd %SOURCE_FILE %DESTINATION_DIR
"
" %SOURCE_FILE and %DESTINATION_DIR are filled in at runtime.
"
" Example:
" :filetype *.zip,*.[jwe]ar FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR
"
" :filetype patterns FUSE_MOUNT2|mount_cmd %PARAM %DESTINATION_DIR
"
" %PARAM and %DESTINATION_DIR are filled in at runtime.
"
" Example:
" :filetype *.ssh FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR
"
" %PARAM value is the first line of the matched file, example: root@127.0.0.1:/
"
" You can also add %CLEAR if you want to clear screen before running FUSE
" program. There is also %FOREGROUND, which is useful for entering passwords.
" Pdf
filextype {*.pdf},<application/pdf> zathura %c %i &, apvlv %c, xpdf %c
fileviewer {*.pdf},<application/pdf> pdftotext -nopgbrk %c -
" PostScript
filextype {*.ps,*.eps,*.ps.gz},<application/postscript>
\ {View in zathura}
\ zathura %f,
\ {View in gv}
\ gv %c %i &,
" Djvu
filextype {*.djvu},<image/vnd.djvu>
\ {View in zathura}
\ zathura %f,
\ {View in apvlv}
\ apvlv %f,
" Audio
filetype {*.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus},
\<audio/*>
\ {Play using ffplay}
\ ffplay -nodisp -hide_banner -autoexit %c,
\ {Play using MPlayer}
\ mplayer %c,
\ {Play using mpv}
\ mpv --no-video %c %s,
fileviewer {*.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus,
\*.aac}
\ ffprobe -hide_banner -pretty %c 2>&1
" Video
filextype {*.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
\*.as[fx]},
\<video/*>
\ {View using ffplay}
\ ffplay -fs -hide_banner -autoexit %f,
\ {View using Dragon}
\ dragon %f:p,
\ {View using mplayer}
\ mplayer %f,
\ {Play using mpv}
\ mpv --no-video %c %s,
fileviewer {*.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
\*.as[fx]},
\<video/*>
\ ffprobe -hide_banner -pretty %c 2>&1
" Web
filextype {*.xhtml,*.html,*.htm},<text/html>
\ {Open with qutebrowser}
\ qutebrowser %f %i &,
\ {Open with firefox}
\ firefox %f &,
filetype {*.xhtml,*.html,*.htm},<text/html> links, lynx
" Object
filetype {*.o},<application/x-object> nm %f | less
" Man page
filetype {*.[1-8]},<text/troff> man ./%c
fileviewer {*.[1-8]},<text/troff> man ./%c | col -b
" Images
filextype {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
\ {View in sxiv}
\ sxiv %f,
\ {View in gpicview}
\ gpicview %c,
\ {View in shotwell}
\ shotwell,
fileviewer {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
\ identify %f
" OpenRaster
filextype *.ora
\ {Edit in MyPaint}
\ mypaint %f,
" Mindmap
filextype *.vym
\ {Open with VYM}
\ vym %f &,
" MD5
filetype *.md5
\ {Check MD5 hash sum}
\ md5sum -c %f %S,
" SHA1
filetype *.sha1
\ {Check SHA1 hash sum}
\ sha1sum -c %f %S,
" SHA256
filetype *.sha256
\ {Check SHA256 hash sum}
\ sha256sum -c %f %S,
" SHA512
filetype *.sha512
\ {Check SHA512 hash sum}
\ sha512sum -c %f %S,
" GPG signature
filetype {*.asc},<application/pgp-signature>
\ {Check signature}
\ !!gpg --verify %c,
" Torrent
filetype {*.torrent},<application/x-bittorrent> ktorrent %f &
fileviewer {*.torrent},<application/x-bittorrent> dumptorrent -v %c
" FuseZipMount
filetype {*.zip,*.jar,*.war,*.ear,*.oxt,*.apkg},
\<application/zip,application/java-archive>
\ {Mount with fuse-zip}
\ FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR,
\ {View contents}
\ tar -tf %f | less,
\ {Extract here}
\ tar -vxf %c,
fileviewer *.zip,*.jar,*.war,*.ear,*.oxt tar -tf %f
" ArchiveMount
filetype {*.tar,*.tar.bz2,*.tbz2,*.tgz,*.tar.gz,*.tar.xz,*.txz,*.tar.zst,
\*.tzst},
\<application/x-tar>
\ {Mount with archivemount}
\ FUSE_MOUNT|archivemount %SOURCE_FILE %DESTINATION_DIR,
fileviewer *.tgz,*.tar.gz tar -tzf %c
fileviewer *.tar.bz2,*.tbz2 tar -tjf %c
fileviewer *.tar.xz,*.txz tar -tJf %c
fileviewer *.tar.zst,*.tzst tar -t --zstd -f %c
fileviewer {*.tar},<application/x-tar> tar -tf %c
" Rar2FsMount and rar archives
filetype {*.rar},<application/x-rar>
\ {Mount with rar2fs}
\ FUSE_MOUNT|rar2fs %SOURCE_FILE %DESTINATION_DIR,
fileviewer {*.rar},<application/x-rar> unrar v %c
" IsoMount
filetype {*.iso},<application/x-iso9660-image>
\ {Mount with fuseiso}
\ FUSE_MOUNT|fuseiso %SOURCE_FILE %DESTINATION_DIR,
" SshMount
filetype *.ssh
\ {Mount with sshfs}
\ FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR %FOREGROUND,
" FtpMount
filetype *.ftp
\ {Mount with curlftpfs}
\ FUSE_MOUNT2|curlftpfs -o ftp_port=-,,disable_eprt %PARAM %DESTINATION_DIR %FOREGROUND,
" Fuse7z and 7z archives
filetype {*.7z},<application/x-7z-compressed>
\ {Mount with fuse-7z}
\ FUSE_MOUNT|fuse-7z %SOURCE_FILE %DESTINATION_DIR,
fileviewer {*.7z},<application/x-7z-compressed> 7z l %c
" Office files
filextype {*.odt,*.doc,*.docx,*.xls,*.xlsx,*.odp,*.pptx,*.ppt},
\<application/vnd.openxmlformats-officedocument.*,
\application/msword,
\application/vnd.ms-excel>
\ libreoffice %f &
fileviewer {*.doc},<application/msword> catdoc %c
fileviewer {*.docx},
\<application/
\vnd.openxmlformats-officedocument.wordprocessingml.document>
\ docx2txt.pl %f -
" TuDu files
filetype *.tudu tudu -f %c
" Qt projects
filextype *.pro qtcreator %f &
" Directories
filextype */
\ {View in thunar}
\ Thunar %f &,
" Syntax highlighting in preview
"
" Explicitly set highlight type for some extensions
"
" 256-color terminal
" fileviewer *.[ch],*.[ch]pp highlight -O xterm256 -s dante --syntax c %c
" fileviewer Makefile,Makefile.* highlight -O xterm256 -s dante --syntax make %c
"
" 16-color terminal
" fileviewer *.c,*.h highlight -O ansi -s dante %c
"
" Or leave it for automatic detection
" fileviewer *[^/] pygmentize -O style=monokai -f console256 -g
" Displaying pictures in terminal
" fileviewer *.jpg,*.png shellpic %c
" Open all other files with default system programs (you can also remove all
" :file[x]type commands above to ensure they don't interfere with system-wide
" settings). By default all unknown files are opened with 'vi[x]cmd'
" uncommenting one of lines below will result in ignoring 'vi[x]cmd' option
" for unknown file types.
" For *nix:
" filetype * xdg-open
" For OS X:
" filetype * open
" For Windows:
" filetype * explorer %"f &
" ------------------------------------------------------------------------------
" Panel configuration examples
" ------------------------------------------------------------------------------
" Customize view columns a bit (enable ellipsis for truncated file names)
" set viewcolumns=-{name}..,6{}.
" Show vertical border
" set fillchars=vborder:│
" Filter-out build and temporary files
" filter! {*.lo,*.o,*.d,*.class,*.pyc,*.pyo,.*~}
" ------------------------------------------------------------------------------
" Sample keyboard mappings
" ------------------------------------------------------------------------------
" Start shell in current directory
nnoremap s :shell<cr>
" Display sorting dialog
nnoremap S :sort<cr>
" Toggle visibility of preview window
nnoremap w :view<cr>
vnoremap w :view<cr>gv
if $DISPLAY && executable('gvim')
" Open file in existing instance of gvim
nnoremap o :!gvim --remote-tab-silent %f<cr>
" Open file in new instance of gvim
nnoremap O :!gvim %f<cr>
endif
" Open file in the background using its default program
nnoremap gb :file &<cr>l
" Interaction with system clipboard
if has('win')
" Yank current directory path to Windows clipboard with forward slashes
nnoremap yp :!echo %"d:gs!\!/! %i | clip<cr>
" Yank path to current file to Windows clipboard with forward slashes
nnoremap yf :!echo %"c:gs!\!/! %i | clip<cr>
elseif $WAYLAND_DISPLAY
if executable('wl-copy')
" Yank current directory path into primary and selection clipboards
nnoremap yd :!echo -n %d | wl-copy %i &&
\ echo -n %d | wl-copy -p %i<cr>
" Yank current file path into into primary and selection clipboards
nnoremap yf :!echo -n %c:p | wl-copy %i &&
\ echo -n %c:p | wl-copy -p %i<cr>
endif
elseif $DISPLAY
if executable('xclip')
" Yank current directory path into the clipboard
nnoremap yd :!echo %d | xclip %i<cr>
" Yank current file path into the clipboard
nnoremap yf :!echo %c:p | xclip %i<cr>
elseif executable('xsel')
" Yank current directory path into primary and selection clipboards
nnoremap yd :!echo -n %d | xsel --input --primary %i &&
\ echo -n %d | xsel --clipboard --input %i<cr>
" Yank current file path into into primary and selection clipboards
nnoremap yf :!echo -n %c:p | xsel --input --primary %i &&
\ echo -n %c:p | xsel --clipboard --input %i<cr>
endif
endif
" Mappings for faster renaming
nnoremap I cw<c-a>
nnoremap cc cw<c-u>
nnoremap A cw
" As above, but without the file extension
" nnoremap I cW<c-a>
" nnoremap cc cW<c-u>
" nnoremap A cW
" Open console in current directory
if $DISPLAY && executable('xterm')
nnoremap ,t :!xterm &<cr>
elseif $TERMINAL
nnoremap ,t :!$TERMINAL &<cr>
endif
" Open editor to edit vifmrc and apply settings after returning to vifm
nnoremap ,c :write | edit $MYVIFMRC | restart full<cr>
" Open gvim to edit vifmrc
if $DISPLAY && executable('gvim')
nnoremap ,C :!gvim --remote-tab-silent $MYVIFMRC &<cr>
endif
" Toggle wrap setting on ,w key
nnoremap ,w :set wrap!<cr>
" Example of standard two-panel file managers mappings
nnoremap <f3> :!less %f<cr>
nnoremap <f4> :edit<cr>
nnoremap <f5> :copy<cr>
nnoremap <f6> :move<cr>
nnoremap <f7> :mkdir<space>
nnoremap <f8> :delete<cr>
" Midnight commander alike mappings
" Open current directory in the other pane
nnoremap <a-i> :sync<cr>
" Open directory under cursor in the other pane
nnoremap <a-o> :sync %c<cr>
" Swap panes
nnoremap <c-u> <c-w>x
" ------------------------------------------------------------------------------
" Various customization examples
" ------------------------------------------------------------------------------
" Use ag (the silver searcher) instead of grep
" set grepprg='ag --line-numbers %i %a %s'
" Add additional place to look for executables
" let $PATH = $HOME.'/bin/fuse:'.$PATH
" Block particular shortcut
" nnoremap <left> <nop>
" Export IPC name of current instance as environment variable and use it to
" communicate with the instance later.
"
" It can be used in some shell script that gets run from inside vifm, for
" example, like this:
" vifm --server-name "$VIFM_SERVER_NAME" --remote +"cd '$PWD'"
"
" let $VIFM_SERVER_NAME = v:servername
" Activate screen/tmux support
" screen!
" ------------------------------------------------------------------------------
" Icon decorations example
" ------------------------------------------------------------------------------
" https://github.com/cirala/vifm_devicons

View File

@ -0,0 +1,39 @@
-- Pull in the wezterm API
local wezterm = require("wezterm")
-- require plugin
local sessionizer = wezterm.plugin.require("https://github.com/mikkasendke/sessionizer.wezterm")
-- initialize module vairable
local module = {}
local my_schema = {
"default",
" EDU",
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/fs25/nus_II",
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/fs25/physik_I",
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/fs25/analysis_II",
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/fs25/informatik_I",
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/fs25/grundzuege_recht",
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/fs25/mathematische_methoden",
wezterm.home_dir .. "/Informatik_ETH/SS25/Informatik",
"󱂒 Makerspace",
wezterm.home_dir .. "/kicad",
wezterm.home_dir .. "/Nextcloud/Vault/maker_space",
" DEV",
sessionizer.FdSearch({ fd_path = "/opt/homebrew/bin/fd", wezterm.home_dir .. "/Projects" }),
}
-- key map
module.keys = {
{
key = "s",
mods = "LEADER",
action = sessionizer.show(my_schema),
},
}
return module

View File

@ -0,0 +1,57 @@
local wezterm = require("wezterm")
-- if you are *NOT* lazy-loading smart-splits.nvim (recommended)
local function is_vim(pane)
-- this is set by the plugin, and unset on ExitPre in Neovim
return pane:get_user_vars().IS_NVIM == "true"
end
-- if you *ARE* lazy-loading smart-splits.nvim (not recommended)
-- you have to use this instead, but note that this will not work
-- in all cases (e.g. over an SSH connection). Also note that
-- `pane:get_foreground_process_name()` can have high and highly variable
-- latency, so the other implementation of `is_vim()` will be more
-- performant as well.
local direction_keys = {
h = "Left",
j = "Down",
k = "Up",
l = "Right",
}
local function split_nav(resize_or_move, key)
return {
key = key,
mods = resize_or_move == "resize" and "CTRL|SHIFT" or "CTRL",
action = wezterm.action_callback(function(win, pane)
if is_vim(pane) then
-- pass the keys through to vim/nvim
win:perform_action({
SendKey = { key = key, mods = resize_or_move == "resize" and "CTRL|SHIFT" or "CTRL" },
}, pane)
else
if resize_or_move == "resize" then
win:perform_action({ AdjustPaneSize = { direction_keys[key], 3 } }, pane)
else
win:perform_action({ ActivatePaneDirection = direction_keys[key] }, pane)
end
end
end),
}
end
return {
keys = {
-- move between split panes
split_nav("move", "h"),
split_nav("move", "j"),
split_nav("move", "k"),
split_nav("move", "l"),
-- resize panes
split_nav("resize", "h"),
split_nav("resize", "j"),
split_nav("resize", "k"),
split_nav("resize", "l"),
},
}

View File

@ -0,0 +1,50 @@
-- Pull in the wezterm API
local wezterm = require("wezterm")
-- require plugin
local tabline = wezterm.plugin.require("https://github.com/michaelbrusegard/tabline.wez")
-- initialize module variable
local module = {}
-- initialize setup function
function module.apply_to_config(config)
tabline.setup({
options = {
theme = "Catppuccin Macchiato",
section_separators = {
left = wezterm.nerdfonts.ple_right_half_circle_thick,
right = wezterm.nerdfonts.ple_left_half_circle_thick,
},
component_separators = {
left = wezterm.nerdfonts.ple_left_half_circle_thin,
right = wezterm.nerdfonts.ple_left_half_circle_thin,
},
tab_separators = {
left = wezterm.nerdfonts.ple_right_half_circle_thick,
right = wezterm.nerdfonts.ple_left_half_circle_thick,
},
},
sections = {
tab_active = {
"index",
":",
"tab",
},
tab_inactive = {
"index",
":",
"tab",
},
tabline_x = {},
tabline_y = {},
tabline_z = { "datetime" },
},
})
end
return module

235
.config/wezterm/wezterm.lua Normal file
View File

@ -0,0 +1,235 @@
-- Pull in the wezterm API
local wezterm = require("wezterm")
-- This will hold the configuration.
local config = wezterm.config_builder()
-- Wezterm plugins
local sessionizer = require("plugins/sessionizer")
local tabline = require("plugins/tabline")
local smart_splits = require("plugins/smart_splits")
-- This will hold the actions
local actions = wezterm.action
-- TMUX config
-- Leader key like in TMUX
config.leader = { key = "a", mods = "CTRL", timeout_milliseconds = 1000 }
-- unix socket to enable sessions
config.unix_domains = {
{
name = "unix",
},
}
-- general keybindings
config.keys = {
{
key = "p",
mods = "CTRL",
action = wezterm.action.ShowDebugOverlay,
},
{
-- sessionizer
key = "s",
mods = "LEADER|SHIFT",
action = actions.PromptInputLine({
description = wezterm.format({
{ Attribute = { Intensity = "Bold" } },
{ Foreground = { AnsiColor = "Fuchsia" } },
{ Text = "Enter name for new workspace" },
}),
action = wezterm.action_callback(function(window, pane, line)
if line then
window:perform_action(
actions.SwitchToWorkspace({
name = line,
}),
pane
)
end
end),
}),
},
{
-- Maximize Pane
key = "m",
mods = "LEADER",
action = actions.TogglePaneZoomState,
},
-- Split Panes
{
key = "-",
mods = "LEADER",
action = actions.SplitVertical,
},
{
key = "|",
mods = "LEADER",
action = actions.SplitHorizontal,
},
-- Rename Session or Tab
{
key = ",",
mods = "LEADER",
action = wezterm.action.PromptInputLine({
description = "Enter new workspace name",
action = wezterm.action_callback(function(window, pane, line)
if line and line ~= "" then
window:set_workspace(line)
wezterm.notify("Workspace renamed to: " .. line, "WezTerm", { urgency = "normal" })
else
wezterm.notify("Workspace rename cancelled", "WezTerm", { urgency = "normal" })
end
end),
}),
},
{
key = ".",
mods = "LEADER",
action = wezterm.action.PromptInputLine({
description = "Enter new tab title",
action = wezterm.action_callback(function(window, pane, line)
if line and line ~= "" then
pane:tab():set_title(line)
wezterm.notify("Tab renamed to: " .. line, "WezTerm", { urgency = "normal" })
else
wezterm.notify("Tab rename cancelled", "WezTerm", { urgency = "normal" })
end
end),
}),
},
-- Create and Kill Tab
{
key = "c",
mods = "LEADER",
action = actions.SpawnCommandInNewTab,
},
{
key = "x",
mods = "LEADER",
action = wezterm.action_callback(function(window, pane)
local tab = pane:tab()
if tab then
local pane_count = #tab:panes()
if pane_count > 1 then
window:perform_action(wezterm.action.CloseCurrentPane({ confirm = false }), pane)
else
window:perform_action(wezterm.action.CloseCurrentTab({ confirm = false }), pane)
end
else
wezterm.notify("No tab found, cannot close", "WezTerm", { urgency = "normal" })
end
end),
},
-- Move Tab to index
{
key = "/",
mods = "LEADER",
action = wezterm.action.PromptInputLine({
description = "Move Tab to Index",
action = wezterm.action_callback(function(window, pane, line)
if not line or line == "" then
wezterm.notify("Tab move cancelled", "WezTerm", { urgency = "normal" })
return
end
local index = tonumber(line)
if not index then
wezterm.notify("Invalid index: must be a number", "WezTerm", { urgency = "normal" })
return
end
-- Convert 1-based user input to 0-based index
index = index - 1
local tab_count = #window:mux_window():tabs()
if index < 0 or index >= tab_count then
wezterm.notify(
"Invalid index: must be between 1 and " .. tab_count,
"WezTerm",
{ urgency = "normal" }
)
return
end
window:perform_action(wezterm.action.MoveTab(index), pane)
wezterm.notify("Tab moved to index: " .. (index + 1), "WezTerm", { urgency = "normal" })
end),
}),
},
-- Move to next and previous Tab
{
key = "n",
mods = "LEADER",
action = actions.ActivateTabRelative(1),
},
{
key = "p",
mods = "LEADER",
action = actions.ActivateTabRelative(-1),
},
-- Vim Mode
{
key = "]",
mods = "LEADER",
action = actions.ActivateCopyMode,
},
}
-- Go to Tab with index
for i = 1, 8 do
-- LEADER + number to move to that position
table.insert(config.keys, {
key = tostring(i),
mods = "LEADER",
action = actions.ActivateTab(i - 1),
})
end
-- This causes `wezterm` to act as though it was started as
-- `wezterm connect unix` by default, connecting to the unix
-- domain on startup.
-- If you prefer to connect manually, leave out this line.
config.default_gui_startup_args = { "connect", "unix" }
-- Tabline plugin
tabline.apply_to_config(config)
-- Append keys from plugins
for _, key in ipairs(sessionizer.keys) do
table.insert(config.keys, key)
end
for _, key in ipairs(smart_splits.keys) do
table.insert(config.keys, key)
end
-- Font Config
config.font = wezterm.font({
family = "JetBrainsMono Nerd Font",
assume_emoji_presentation = false,
})
config.font_size = 13
-- Color Scheme
config.color_scheme = "Catppuccin Macchiato"
-- Window Config
config.window_decorations = "RESIZE"
config.use_fancy_tab_bar = false
--Key Config
config.send_composed_key_when_left_alt_is_pressed = true
return config

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule ".config/doomemacs"]
path = .config/doomemacs
url = https://github.com/doomemacs/doomemacs

13
.zshrc
View File

@ -98,17 +98,10 @@ export DBUS_SESSION_BUS_ADRESS="unix:path=$DBUS_LAUNCHD_SESSION_BUS_SOCKET"
# on startup
clear
function colorscript ()
{
ls ~/.config/colorscripts |sort -R |tail -1 |while read file; do
~/.config/colorscripts/$file
done
}
fastfetch
eval $(thefuck --alias)
eval "$(zoxide init --cmd cd zsh)"
colorscript
# Terminal Shortcuts
@ -121,13 +114,13 @@ alias pip="pip3.12"
function ct {
clear
colorscript
fastfetch
cd
}
function c {
clear
colorscript
fastfetch
}
function li () {