Dotfiles with the latest changes

This commit is contained in:
JirR02 2024-10-28 14:02:46 +01:00
parent d39336c479
commit fa6b78a382
108 changed files with 4459 additions and 467 deletions

View File

@ -0,0 +1,151 @@
# Place a copy of this config to ~/.aerospace.toml
# After that, you can edit ~/.aerospace.toml to your liking
# It's not necessary to copy all keys to your config.
# If the key is missing in your config, "default-config.toml" will serve as a fallback
# 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 = []
# 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']
# Intergration with sketchybar
exec-on-workspace-change = ['/bin/zsh', '-c',
'sketchybar --trigger aerospace_workspace_change FOCUSED_WORKSPACE=$AEROSPACE_FOCUSED_WORKSPACE'
]
# Start AeroSpace at login
start-at-login = true
# Normalizations. See: https://nikitabobko.github.io/AeroSpace/guide#normalization
enable-normalization-flatten-containers = true
enable-normalization-opposite-orientation-for-nested-containers = true
# See: https://nikitabobko.github.io/AeroSpace/guide#layouts
# The 'accordion-padding' specifies the size of accordion padding
# You can set 0 to disable the padding feature
accordion-padding = 30
# Possible values: tiles|accordion
default-root-container-layout = 'tiles'
# Possible values: horizontal|vertical|auto
# 'auto' means: wide monitor (anything wider than high) gets horizontal orientation,
# tall monitor (anything higher than wide) gets vertical orientation
default-root-container-orientation = 'auto'
# Possible values: (qwerty|dvorak)
# See https://nikitabobko.github.io/AeroSpace/guide#key-mapping
key-mapping.preset = 'qwerty'
# Mouse follows focus when focused monitor changes
# Drop it from your config, if you don't like this behavior
# See https://nikitabobko.github.io/AeroSpace/guide#on-focus-changed-callbacks
# See https://nikitabobko.github.io/AeroSpace/commands#move-mouse
on-focused-monitor-changed = ['move-mouse monitor-lazy-center']
# Gaps between windows (inner-*) and between monitor edges (outer-*).
# Possible values:
# - Constant: gaps.outer.top = 8
# - Per monitor: gaps.outer.top = [{ monitor.main = 16 }, { monitor."some-pattern" = 32 }, 24]
# In this example, 24 is a default value when there is no match.
# Monitor pattern is the same as for 'workspace-to-monitor-force-assignment'.
# See: https://nikitabobko.github.io/AeroSpace/guide#assign-workspaces-to-monitors
[gaps]
inner.horizontal = 10
inner.vertical = 10
outer.left = 10
outer.bottom = 10
outer.top = [{ monitor.dell = 40 }, { monitor.2 = 40 }, 10]
outer.right = 10
# 'main' binding mode declaration
# See: https://nikitabobko.github.io/AeroSpace/guide#binding-modes
# 'main' binding mode must be always presented
[mode.main.binding]
# All possible keys:
# - Letters. a, b, c, ..., z
# - Numbers. 0, 1, 2, ..., 9
# - Keypad numbers. keypad0, keypad1, keypad2, ..., keypad9
# - F-keys. f1, f2, ..., f20
# - Special keys. minus, equal, period, comma, slash, backslash, quote, semicolon, backtick,
# leftSquareBracket, rightSquareBracket, space, enter, esc, backspace, tab
# - Keypad special. keypadClear, keypadDecimalMark, keypadDivide, keypadEnter, keypadEqual,
# keypadMinus, keypadMultiply, keypadPlus
# - Arrows. left, down, up, right
# All possible modifiers: cmd, ctrl, ctrl, shift
# All possible commands: https://nikitabobko.github.io/AeroSpace/commands
# You can uncomment this line to open up terminal with ctrl + enter shortcut
# See: https://nikitabobko.github.io/AeroSpace/commands#exec-and-forget
# ctrl-enter = 'exec-and-forget open -n /System/Applications/Utilities/Terminal.app'
# See: https://nikitabobko.github.io/AeroSpace/commands#layout
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'
# 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'
# See: https://nikitabobko.github.io/AeroSpace/commands#workspace
ctrl-1 = 'workspace '
ctrl-2 = 'workspace '
ctrl-3 = 'workspace '
ctrl-4 = 'workspace '
ctrl-5 = 'workspace 󰏆'
ctrl-6 = 'workspace '
ctrl-7 = 'workspace '
ctrl-8 = 'workspace 󰐫'
ctrl-9 = 'workspace '
# See: https://nikitabobko.github.io/AeroSpace/commands#move-node-to-workspace
ctrl-shift-1 = 'move-node-to-workspace '
ctrl-shift-2 = 'move-node-to-workspace '
ctrl-shift-3 = 'move-node-to-workspace '
ctrl-shift-4 = 'move-node-to-workspace '
ctrl-shift-5 = 'move-node-to-workspace 󰏆'
ctrl-shift-6 = 'move-node-to-workspace '
ctrl-shift-7 = 'move-node-to-workspace '
ctrl-shift-8 = 'move-node-to-workspace 󰐫'
ctrl-shift-9 = 'move-node-to-workspace '
# See: https://nikitabobko.github.io/AeroSpace/commands#move-workspace-to-monitor
ctrl-shift-tab = 'move-workspace-to-monitor --wrap-around next'
# See: https://nikitabobko.github.io/AeroSpace/commands#mode
ctrl-shift-slash= 'mode service'
# 'service' binding mode declaration.
# See: https://nikitabobko.github.io/AeroSpace/guide#binding-modes
[mode.service.binding]
esc = ['reload-config', 'mode main']
r = ['flatten-workspace-tree', 'mode main'] # reset layout
#s = ['layout sticky tiling', 'mode main'] # sticky is not yet supported https://github.com/nikitabobko/AeroSpace/issues/2
f = ['layout floating tiling', 'mode main'] # Toggle between floating and tiling layout
backspace = ['close-all-windows-but-current', 'mode main']
ctrl-shift-s = ['join-with left', 'mode main']
ctrl-shift-d = ['join-with down', 'mode main']
ctrl-shift-f = ['join-with up', 'mode main']
ctrl-shift-g = ['join-with right', 'mode main']
#Assign workspace to monitor
[workspace-to-monitor-force-assignment]
'' = 2

View File

@ -1,6 +1,3 @@
import = [
"~/.config/alacritty/themes/dracula.toml"
]
[env]
TERM="xterm-256color"
@ -16,3 +13,8 @@ style = "Regular"
decorations = "Buttonless"
opacity = 0.8
blur = true
[general]
import = [
"~/.config/alacritty/themes/dracula.toml"
]

View File

@ -0,0 +1,26 @@
#!/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

46
.config/colorscripts/alpha Executable file
View File

@ -0,0 +1,46 @@
#!/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

40
.config/colorscripts/arch Executable file
View File

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

@ -0,0 +1,16 @@
#!/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";
}'

26
.config/colorscripts/bars Executable file
View File

@ -0,0 +1,26 @@
#!/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

5
.config/colorscripts/blocks1 Executable file
View File

@ -0,0 +1,5 @@
#!/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;')"

54
.config/colorscripts/blocks2 Executable file
View File

@ -0,0 +1,54 @@
#!/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

63
.config/colorscripts/bloks Executable file
View File

@ -0,0 +1,63 @@
#!/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

38
.config/colorscripts/colorbars Executable file
View File

@ -0,0 +1,38 @@
#!/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

30
.config/colorscripts/colortest Executable file
View File

@ -0,0 +1,30 @@
#!/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

@ -0,0 +1,21 @@
#!/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

34
.config/colorscripts/colorview Executable file
View File

@ -0,0 +1,34 @@
#!/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 " └──────────────────────────────────────────────────────────────────────────┘"

13
.config/colorscripts/colorwheel Executable file
View File

@ -0,0 +1,13 @@
#!/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
"

19
.config/colorscripts/crowns Executable file
View File

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

47
.config/colorscripts/crunch Executable file
View File

@ -0,0 +1,47 @@
#!/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

46
.config/colorscripts/crunchbang Executable file
View File

@ -0,0 +1,46 @@
#!/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

@ -0,0 +1,44 @@
#!/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

56
.config/colorscripts/darthvader Executable file
View File

@ -0,0 +1,56 @@
#!/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

39
.config/colorscripts/debian Executable file
View File

@ -0,0 +1,39 @@
#!/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

@ -0,0 +1,58 @@
#!/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

@ -0,0 +1,58 @@
#!/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

50
.config/colorscripts/elfman Executable file
View File

@ -0,0 +1,50 @@
#!/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

48
.config/colorscripts/faces Executable file
View File

@ -0,0 +1,48 @@
#!/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

45
.config/colorscripts/fade Executable file
View File

@ -0,0 +1,45 @@
#!/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

33
.config/colorscripts/ghosts Executable file
View File

@ -0,0 +1,33 @@
#!/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

23
.config/colorscripts/illumina Executable file
View File

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

55
.config/colorscripts/jangofett Executable file
View File

@ -0,0 +1,55 @@
#!/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

63
.config/colorscripts/kaisen Executable file
View File

@ -0,0 +1,63 @@
#!/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

38
.config/colorscripts/manjaro Executable file
View File

@ -0,0 +1,38 @@
#!/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

42
.config/colorscripts/monster Executable file
View File

@ -0,0 +1,42 @@
#!/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

50
.config/colorscripts/mouseface Executable file
View File

@ -0,0 +1,50 @@
#!/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

49
.config/colorscripts/mouseface2 Executable file
View File

@ -0,0 +1,49 @@
#!/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

40
.config/colorscripts/pinguco Executable file
View File

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

97
.config/colorscripts/print256 Executable file
View File

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

74
.config/colorscripts/pukeskull Executable file
View File

@ -0,0 +1,74 @@
#!/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

48
.config/colorscripts/rails Executable file
View File

@ -0,0 +1,48 @@
#!/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

49
.config/colorscripts/rupees Executable file
View File

@ -0,0 +1,49 @@
#!/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

41
.config/colorscripts/six Executable file
View File

@ -0,0 +1,41 @@
#!/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

21
.config/colorscripts/spectrum Executable file
View File

@ -0,0 +1,21 @@
#!/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

44
.config/colorscripts/square Executable file
View File

@ -0,0 +1,44 @@
#!/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

27
.config/colorscripts/suckless Executable file
View File

@ -0,0 +1,27 @@
#!/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"

54
.config/colorscripts/tanks Executable file
View File

@ -0,0 +1,54 @@
#!/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

32
.config/colorscripts/thebat Executable file
View File

@ -0,0 +1,32 @@
#!/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

52
.config/colorscripts/thebat2 Executable file
View File

@ -0,0 +1,52 @@
#!/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

@ -0,0 +1,58 @@
#!/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

@ -0,0 +1,62 @@
#!/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

@ -0,0 +1,46 @@
#!/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

@ -0,0 +1,57 @@
#!/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

103
.config/colorscripts/tux Executable file
View File

@ -0,0 +1,103 @@
#!/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

64
.config/colorscripts/xmonad Executable file
View File

@ -0,0 +1,64 @@
#!/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

26
.config/colorscripts/zwaves Executable file
View File

@ -0,0 +1,26 @@
#!/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

@ -1,47 +1,54 @@
{
"LuaSnip": { "branch": "master", "commit": "de1a287c9cb525ae52bc846e8f6207e5ef1da5ac" },
"ReplaceWithRegister": { "branch": "master", "commit": "832efc23111d19591d495dc72286de2fb0b09345" },
"alpha-nvim": { "branch": "main", "commit": "41283fb402713fc8b327e60907f74e46166f4cfd" },
"bufferline.nvim": { "branch": "main", "commit": "73540cb95f8d95aa1af3ed57713c6720c78af915" },
"LuaSnip": { "branch": "master", "commit": "787dee55ca364cc9119787165418fe93b74c1842" },
"alpha-nvim": { "branch": "main", "commit": "bf3c8bb8c02ed3d9644cc5bbc48e2bdc39349cd7" },
"auto-session": { "branch": "main", "commit": "3cd531ce4d46fb156268ddedf5f3e6822ef26af7" },
"bufferline.nvim": { "branch": "main", "commit": "5cc447cb2b463cb499c82eaeabbed4f5fa6a0a44" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
"comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
"dracula.nvim": { "branch": "main", "commit": "8d8bddb8814c3e7e62d80dda65a9876f97eb699c" },
"friendly-snippets": { "branch": "main", "commit": "dd2fd1281d4b22e7b4a5bfafa3e142d958e251f2" },
"gitsigns.nvim": { "branch": "main", "commit": "805610a9393fa231f2c2b49cb521bfa413fadb3d" },
"lazy.nvim": { "branch": "main", "commit": "c717ab88ff47830845a1e422a1d6495c764fac1d" },
"lspkind.nvim": { "branch": "master", "commit": "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf" },
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "9ae570e206360e47d30b4c35a4550c165f4ea7b7" },
"mason-null-ls.nvim": { "branch": "main", "commit": "de19726de7260c68d94691afb057fa73d3cc53e7" },
"mason-tool-installer.nvim": { "branch": "main", "commit": "c1fbdcb0d8d1295314f1612c4a247253e70299d9" },
"mason.nvim": { "branch": "main", "commit": "49ff59aded1047a773670651cfa40e76e63c6377" },
"noice.nvim": { "branch": "main", "commit": "4a691f630c75966397f7a67c6860c03ae5da643f" },
"none-ls-extras.nvim": { "branch": "main", "commit": "336e84b9e43c0effb735b08798ffac382920053b" },
"none-ls.nvim": { "branch": "main", "commit": "37671797d6e5f9bd0ee3ab965ab2e6de251e1930" },
"nui.nvim": { "branch": "main", "commit": "b1b3dcd6ed8f355c78bad3d395ff645be5f8b6ae" },
"comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"conform.nvim": { "branch": "master", "commit": "278376b953bcab65e2ab9508b5575d1f9a2cbac1" },
"csvview.nvim": { "branch": "main", "commit": "25d963b489b5b3c295bc2bb67861192368d0cb23" },
"dracula.nvim": { "branch": "main", "commit": "94fa7885a06a67f0a8bfa03e064619d05d1ba496" },
"easytables.nvim": { "branch": "master", "commit": "ae57fdaad25a5f9ac2773ebdb8782c7bbc7d8932" },
"follow-md-links.nvim": { "branch": "main", "commit": "41a6d74636b4209571680d40f20f59a0bf30bf57" },
"friendly-snippets": { "branch": "main", "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" },
"gitsigns.nvim": { "branch": "main", "commit": "ee7634ab4f0a6606438fe13e16cbf2065589a5ed" },
"indent-blankline.nvim": { "branch": "master", "commit": "e7a4442e055ec953311e77791546238d1eaae507" },
"lazy.nvim": { "branch": "main", "commit": "cf8ecc2c5e4332760431a33534240b0cbc6680ab" },
"lspkind.nvim": { "branch": "master", "commit": "59c3f419af48a2ffb2320cea85e44e5a95f71664" },
"lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" },
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
"markdown-toc.nvim": { "branch": "main", "commit": "ce57af75962c93714f9d01880bf4e805f55485b9" },
"markdown.nvim": { "branch": "main", "commit": "435b1ed56174d0f7334cc0fce9302084832453f6" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "7446f47b3dfb7df801f31a6f6783c2ad119a6935" },
"mason-tool-installer.nvim": { "branch": "main", "commit": "c5e07b8ff54187716334d585db34282e46fa2932" },
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
"neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" },
"noice.nvim": { "branch": "main", "commit": "df448c649ef6bc5a6a633a44f2ad0ed8d4442499" },
"nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" },
"nvim-FeMaco.lua": { "branch": "main", "commit": "96bbf843595dbe865838b3f2484b73557f34700c" },
"nvim-autopairs": { "branch": "master", "commit": "b0b79e42a28f09719a7da9534c3731fa37319d9b" },
"nvim-autopairs": { "branch": "master", "commit": "ee297f215e95a60b01fde33275cc3c820eddeebe" },
"nvim-bufdel": { "branch": "main", "commit": "523d58e94e7212fff3e05c247b962dc8f93bcfde" },
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
"nvim-lint": { "branch": "master", "commit": "1f98d6c863f91706369d74aeb2eb3f02b2e96861" },
"nvim-lspconfig": { "branch": "master", "commit": "6d2ae9fdc3111a6e8fd5db2467aca11737195a30" },
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
"nvim-surround": { "branch": "main", "commit": "79aaa42da1f698ed31bcbe7f83081f69dca7ba17" },
"nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" },
"nvim-treesitter": { "branch": "master", "commit": "1eabe69bfa8f78e14fcf5d42a2b3881babaca30a" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "5f9bf4b1ead7707e4e74e5319ee56bdc81fb73db" },
"nvim-web-devicons": { "branch": "master", "commit": "e37bb1feee9e7320c76050a55443fa843b4b6f83" },
"plenary.nvim": { "branch": "master", "commit": "08e301982b9a057110ede7a735dd1b5285eb341f" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" },
"telescope-live-grep-args.nvim": { "branch": "master", "commit": "731a046da7dd3adff9de871a42f9b7fb85f60f47" },
"telescope.nvim": { "branch": "0.1.x", "commit": "6312868392331c9c0f22725041f1ec2bef57c751" },
"vim-fugitive": { "branch": "master", "commit": "5a9bd42dd8dd127779f3cd8982a0419b7ca9c7f5" },
"nvim-cmp": { "branch": "main", "commit": "29fb4854573355792df9e156cb779f0d31308796" },
"nvim-lint": { "branch": "master", "commit": "16b21a7d04d06661f92f273a0744fd81fb19e09e" },
"nvim-lspconfig": { "branch": "master", "commit": "85afd4b936acd62b578c2e2d8e86541fb972c32e" },
"nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" },
"nvim-tree.lua": { "branch": "master", "commit": "8760d76c1d316aa46f141f3f2b80b853a2acc41e" },
"nvim-treesitter": { "branch": "master", "commit": "f6c5a58e3bbbedd2a31d04e5aa6f9997df20e3df" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "0d79d169fcd45a8da464727ac893044728f121d4" },
"nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" },
"nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" },
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" },
"telescope-live-grep-args.nvim": { "branch": "master", "commit": "649b662a8f476fd2c0289570764459e95ebaa3f3" },
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
"template.nvim": { "branch": "main", "commit": "59955db23613985e031d340756d5c01aebd583a3" },
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
"vim-fugitive": { "branch": "master", "commit": "d4877e54cef67f5af4f950935b1ade19ed6b7370" },
"vim-surround": { "branch": "master", "commit": "3d188ed2113431cf8dac77be61b842acb64433d9" },
"vim-tmux-navigator": { "branch": "master", "commit": "a26954a585b02a2ac02f87145e204f8798a7cbc2" },
"vimtex": { "branch": "master", "commit": "9665df7f51ee24aa81dbd81782e0a22480209753" },
"vimwiki": { "branch": "dev", "commit": "69318e74c88ef7677e2496fd0a836446ceac61e8" },
"which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" }
"vim-tmux-navigator": { "branch": "master", "commit": "a9b52e7d36114d40350099f254b5f299a35df978" },
"vimtex": { "branch": "master", "commit": "f59b2784e8e4a2cce741cc697b403428af4cf131" },
"which-key.nvim": { "branch": "main", "commit": "8badb359f7ab8711e2575ef75dfe6fbbd87e4821" }
}

View File

@ -1,5 +1,6 @@
return {
"Mofiqul/dracula.nvim",
priority = 1000,
config = function()
vim.cmd([[colorscheme dracula]])
end,

View File

@ -3,30 +3,42 @@ local opt = vim.opt
opt.relativenumber = true
opt.number = true
-- tabs & indentation
opt.tabstop = 2
opt.shiftwidth = 2
opt.expandtab = true
opt.autoindent = true
-- disable line wrapping
opt.wrap = false
-- search settings
opt.ignorecase = true
opt.smartcase = true
-- undo
opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
opt.undofile = true
-- search behaviour
opt.hlsearch = false
opt.incsearch = true
-- cursor always stays in the middle
opt.scrolloff = 999
-- colorscheme
opt.termguicolors = true
opt.background = "dark"
opt.signcolumn = "yes"
-- backspace
opt.backspace = "indent,eol,start"
-- clipboard
opt.clipboard:append("unnamedplus")
-- splitting windows
opt.splitright = true
opt.splitbelow = true

View File

@ -11,4 +11,8 @@ if not vim.loop.fs_stat(lazypath) then
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({ { import = "jirr02.plugins" }, { import = "jirr02.core.colorscheme" }, { import = "jirr02.plugins.lsp"} })
require("lazy").setup({
{ import = "jirr02.plugins" },
{ import = "jirr02.core.colorscheme" },
{ import = "jirr02.plugins.lsp" },
})

View File

@ -12,6 +12,7 @@ return {
dashboard.button("SPC ee", " > Toggle file explorer", "<cmd>NvimTreeToggle<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>"),
dashboard.button("q", " > Quit NVIM", "<cmd>qa<CR>"),
}

View File

@ -0,0 +1,17 @@
return {
"rmagatti/auto-session",
config = function()
local auto_session = require("auto-session")
local wk = require("which-key")
auto_session.setup({
auto_restore_enabled = false,
})
wk.add({
{ "<leader>s", group = "session", icon = "" },
{ "<leader>sr", "<cmd>SessionRestore<CR>", desc = "Restore session for cwd", icon = "󰦛" },
{ "<leader>sr", "<cmd>SessionSave<CR>", desc = "Save Session", icon = "" },
})
end,
}

View File

@ -1,9 +1,18 @@
return {
"windwp/nvim-autopairs",
event = { "InsertEnter" },
dependencies = {
"hrsh7th/nvim-cmp",
},
config = function()
local autopairs = require("nvim-autopairs")
local cmp_autopairs = require("nvim-autopairs.completion.cmp")
local cmp = require("cmp")
autopairs.setup()
autopairs.setup({
check_ts = true,
})
end
cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done())
end,
}

View File

@ -15,13 +15,11 @@ return {
},
})
wk.register({
b = {
name = "buffer",
x = { "<cmd>BufDel<CR>", "Close Buffer" },
n = { "<cmd>BufferLineCycleNext<CR>", "Go to next buffer" },
p = { "<cmd>BufferLineCyclePrev<CR>", "Go to previous buffer" },
},
}, { prefix = "<leader>" })
wk.add({
{ "<leader>b", group = "buffer", icon = "󰓩" },
{ "<leader>bx", "<cmd>BufDel<CR>", desc = "Close Buffer", icon = "󰭌" },
{ "<leader>bn", "<cmd>BufferLineCycleNext<CR>", desc = "Go to next buffer", icon = "󰌒" },
{ "<leader>bp", "<cmd>BufferLineCyclePrev<CR>", desc = "Go to previous buffer", icon = "󰌥" },
})
end,
}

View File

@ -1,5 +1,6 @@
return {
"numToStr/comment.nvim",
event = { "BufReadPre", "BufNewFile" },
config = function()
local comment = require("Comment")

View File

@ -0,0 +1,11 @@
return {
"hat0uma/csvview.nvim",
config = function()
require("csvview").setup({
view = {
display_mode = "border",
},
})
end,
}

View File

@ -0,0 +1,22 @@
return {
"Myzel394/easytables.nvim",
event = { "BufReadPre", "BufNewFile" },
config = function()
local easytables = require("easytables")
local wk = require("which-key")
easytables.setup({})
wk.add({
{ "<leader>m", group = "markdown", icon = "" },
{
"<leader>mt",
function()
vim.ui.input({ prompt = "width x height: " }, function(input)
vim.cmd("EasyTablesCreateNew " .. input)
end)
end,
},
})
end,
}

View File

@ -1,8 +1,15 @@
return {
"AckslD/nvim-FeMaco.lua",
lazy = true,
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function()
local femaco = require("femaco")
local wk = require("which-key")
femaco.setup({})
wk.add({
{"<leader>me", "<cmd>FeMaco<CR>", desc = "Edit code block in buffer", icon = ""},
})
end,
}

View File

@ -0,0 +1,21 @@
return {
"stevearc/conform.nvim",
event = { "BufReadPre", "BufNewFile" },
config = function()
local conform = require("conform")
local wk = require("which-key")
conform.setup({
formatters_by_ft = {
markdown = { "prettier" },
python = { "black" },
lua = { "stylua" },
},
})
wk.add({
{ "<leader>l" , group = "lsp", icon = ""},
{"<leader>lf", function() conform.format({lsp_fallback = true, async = false, timeout_ms = 1000}) end, desc = "Format file", icon = "󰛖"},
})
end,
}

View File

@ -0,0 +1,8 @@
return {
"lukas-reineke/indent-blankline.nvim",
event = { "BufReadPre", "BufNewFile" },
main = "ibl",
opts = {
indent = { char = "|" },
},
}

View File

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

View File

@ -0,0 +1,21 @@
return {
"mfussenegger/nvim-lint",
event = { "BufReadPre", "BufNewFile" },
config = function ()
local lint = require("lint")
lint.linters_by_ft = {
python = { "pylint" },
}
local lint_augroup = vim.api.nvim_create_augroup("lint", {clear = true})
vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, {
group = lint_augroup,
callback = function ()
lint.try_lint()
end,
})
end,
}

View File

@ -1,15 +1,27 @@
return {
"neovim/nvim-lspconfig",
event = { "BufReadPre", "BufNewFile" },
dependencies = {
"hrsh7th/cmp-nvim-lsp",
"onsails/lspkind.nvim",
{ "folke/neodev.nvim", opts = {} },
},
config = function()
local lspconfig = require("lspconfig")
local mason_lspconfig = require("mason-lspconfig")
local cmp_nvim_lsp = require("cmp_nvim_lsp")
local wk = require("which-key")
local capabilities = cmp_nvim_lsp.default_capabilities()
mason_lspconfig.setup_handlers({
function(server_name)
lspconfig[server_name].setup({
capabilities = capabilities,
})
end,
})
lspconfig["lua_ls"].setup({
capabilities = capabilities,
settings = { -- custom settings for lua
@ -32,29 +44,24 @@ return {
capabilities = capabilities,
filetypes = { "python" },
})
lspconfig["clangd"].setup({
capabilities = capabilities,
})
lspconfig["marksman"].setup({
capabilities = capabilities,
})
lspconfig["texlab"].setup({
capabilities = capabilities,
})
wk.register({
l = {
name = "lsp",
r = { "<cmd>Telescope lsp_references<CR>", "Show references" },
D = { "<cmd>lua vim.lsp.buf.defenition()<CR>", "Show defenition" },
c = { "<cmd>lua vim.lsp.buf.code_action()<CR>", "Code actions" },
R = { "<cmd>lua vim.lsp.buf.rename()<CR>", "Smart rename" },
d = { "<cmd>Telescope diagnostics bufnr=0<CR>", "Diagnostics" },
l = { "<cmd>lua vim.lsp.buf.open_float()<CR>", "Line Diagnostics" },
n = { "<cmd>lua vim.diagnostics.goto_next()<CR>", "Go to next Diagnostic" },
p = { "<cmd>lua vim.diagnostics.goto_prev()<CR>", "Go to previous Diagnostic" },
i = { "<cmd>lua vim.lsp.buf.hover()<CR>", "Show documentation" },
L = { "<cmd>LspRestart<CR>", "Restart LSP" },
wk.add({
{ "<leader>l", group = "lsp", icon = "" },
{ "<leader>lr", "<cmd>Telescope lsp_references<CR>", desc = "Show references", icon = "" },
{ "<leader>lD", "<cmd>lua vim.lsp.buf.defenition()<CR>", desc = "Show defenition", icon = "" },
{ "<leader>lc", "<cmd>lua vim.lsp.buf.code_action()<CR>", desc = "Code actions", icon = "" },
{ "<leader>lR", "<cmd>lua vim.lsp.buf.rename()<CR>", desc = "Smart rename", icon = "󰑕" },
{ "<leader>ld", "<cmd>Telescope diagnostics bufnr=0<CR>", desc = "Diagnostics", icon = "󰍉" },
{ "<leader>ll", "<cmd>lua vim.lsp.buf.open_float()<CR>", desc = "Line Diagnostics", icon = "󰍉" },
{ "<leader>ln", "<cmd>lua vim.diagnostics.goto_next()<CR>", desc = "Go to next Diagnostic", icon = "" },
{
"<leader>lp",
"<cmd>lua vim.diagnostics.goto_prev()<CR>",
desc = "Go to previous Diagnostic",
icon = "",
},
}, { prefix = "<leader>" })
{ "<leader>li", "<cmd>lua vim.lsp.buf.hover()<CR>", desc = "Show documentation", icon = "󰈙" },
{ "<leader>lL", "<cmd>LspRestart<CR>", desc = "Restart LSP", icon = "" },
})
end,
}

View File

@ -30,6 +30,8 @@ return {
"stylua",
"prettier",
"vale",
"pylint",
"latexindent",
},
})
end,

View File

@ -1,52 +0,0 @@
return {
"nvimtools/none-ls.nvim",
dependencies = {
"jay-babu/mason-null-ls.nvim",
"nvimtools/none-ls-extras.nvim",
},
config = function()
local mason_null_ls = require("mason-null-ls")
local null_ls = require("null-ls")
local augroup = vim.api.nvim_create_augroup("LspFormatting", {})
local formatting = null_ls.builtins.formatting
local diagnostics = null_ls.builtins.diagnostics
mason_null_ls.setup()
null_ls.setup({
debug = true,
sources = {
formatting.stylua,
formatting.black,
formatting.clang_format,
formatting.prettier,
diagnostics.mypy.with({
extra_args = function()
local virtual = os.getenv("VIRTUAL_ENV") or os.getenv("CONDA_PREFIX") or "/usr"
return { "--python-executable", virtual .. "/bin/python3" }
end,
}),
-- diagnostics.ruff_lsp,
diagnostics.vale,
},
on_attach = function(current_client, bufnr)
if current_client.supports_method("textDocument/formatting") then
vim.api.nvim_clear_autocmds({ group = augroup, buffer = bufnr })
vim.api.nvim_create_autocmd("BufWritePre", {
group = augroup,
buffer = bufnr,
callback = function()
vim.lsp.buf.format({
filter = function(client)
-- only use null-ls for formatting instead of lsp server
return client.name == "null-ls"
end,
bufnr = bufnr,
})
end,
})
end
end,
})
end,
}

View File

@ -6,8 +6,8 @@ return {
lualine.setup({
options = {
theme = 'dracula-nvim',
theme = "dracula-nvim",
},
})
end
end,
}

View File

@ -0,0 +1,9 @@
return {
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = "cd app && yarn install",
init = function()
vim.g.mkdp_filetypes = { "markdown" }
end,
}

View File

@ -0,0 +1,18 @@
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

@ -0,0 +1,21 @@
return {
"MeanderingProgrammer/markdown.nvim",
event = { "BufReadPre", "BufNewFile" },
dependencies = "nvim-treesitter/nvim-treesitter",
config = function()
local markdown = require("render-markdown")
markdown.setup({
checkbox = {
custom = {
inprogress = { raw = '[>]', rendered = '󰦕 ', highlight = 'RenderedMarkdownInProgress'},
onhold = { raw = '[=]', rendered = '', highlight = 'RenderedMarkdownOnhold'},
cancelled = { raw = '[_]', rendered = '', highlight = 'RenderedMarkdownCancelled'},
important = { raw = '[!]', rendered = '', highlight = 'RenderedMarkdownImportant'},
recurring = { raw = '[+]', rendered = '', highlight = 'RenderedMarkdownRecurring'},
uncertain = { raw = '[?]', rendered = '', highlight = 'RenderedMarkdownUncertain'},
},
},
})
end,
}

View File

@ -1,4 +0,0 @@
return {
"kylechui/nvim-surround",
config = true,
}

View File

@ -40,12 +40,10 @@ return {
ignore = false,
},
})
wk.register({
e = {
name = "explorer",
e = { "<cmd>NvimTreeToggle<CR>", "Toggle File Explorer" },
r = { "<cmd>NvimTreeRefresh<CR>", "Refresh File Explorer" },
},
}, { prefix = "<leader>" })
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

@ -12,15 +12,21 @@ return {
local wk = require("which-key")
telescope.load_extension("fzf")
telescope.load_extension("find_template")
wk.register({
f = {
name = "file",
f = { "<cmd>Telescope find_files<CR>", "Find Files in Current Working Directory" },
r = { "<cmd>Telescope oldfiles<CR>", "Recent Files" },
s = { "<cmd>Telescope grep_string<CR>", "Find String in File" },
g = { "<cmd>Telescope git_files<CR>", "Find git files" },
wk.add({
{ "<leader>f", group = "telescope", icon = "" },
{
"<leader>ff",
"<cmd>Telescope find_files<CR>",
desc = "Find Files in Current Working Directory",
icon = "",
},
}, { prefix = "<leader>" })
{ "<leader>fr", "<cmd>Telescope oldfiles<CR>", desc = "Recent Files", icon = "󰙰" },
{ "<leader>fs", "<cmd>Telescope live_grep<CR>", desc = "Find String in CWD", icon = "" },
{ "<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 = "" },
})
end,
}

View File

@ -0,0 +1,23 @@
return {
"nvimdev/template.nvim",
cmd = { "Template", "TemProject" },
config = function()
local template = require("template")
local wk = require("which-key")
template.setup({
temp_dir = "~/.config/nvim/templates/",
})
wk.add({
{ "<leader>t", group = "template", icon = "" },
{
"<leader>ti",
"<cmd>Telescope find_template type=insert filter_ft=false<CR>",
desc = "Insert template",
icon = "",
},
{ "<leader>tl", "<cmd>!theory<CR>", desc = "Insert latex notebook template", icon = "" },
})
end,
}

View File

@ -0,0 +1,8 @@
return {
"folke/todo-comments.nvim",
event = { "BufReadPre", "BufNewFile" },
dependencies = {
"nvim-lua/plenary.nvim",
},
opts = {}
}

View File

@ -4,6 +4,7 @@ return {
event = { "BufReadPre", "BufNewFile" },
dependencies = {
"nvim-treesitter/nvim-treesitter-textobjects",
"windwp/nvim-ts-autotag",
},
config = function()
local treesitter = require("nvim-treesitter.configs")
@ -16,6 +17,9 @@ return {
indent = {
enable = true,
},
autotag = {
enable = true,
},
ensure_installed = {
"python",
"cpp",

View File

@ -1,9 +1,9 @@
return {
"lervag/vimtex",
config = function()
lazy = false,
init = function()
local wk = require("which-key")
vim.g.tex_flavor = "latex"
vim.g.vimtex_view_method = "zathura"
vim.g.vimtex_quickfix_mode = 0
vim.g.vimtex_compiler_latexmk = {
@ -11,13 +11,17 @@ return {
"-pdf",
},
}
vim.g.vimtex_fold_enabled = true
vim.g.vimtex_format_enabled = true
wk.register({
v = {
name = "vimtex",
c = { ":VimtexCompile", "Compile LaTex File" },
v = { ":!zathura main.pdf &>/dev/null &", "Open compiled PDF in Zathura" },
},
}, { prefix = "<leader>" })
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 = "" },
})
end,
}

View File

@ -1,9 +0,0 @@
return {
"vimwiki/vimwiki",
init = function()
vim.g.vimwiki_list = {
{ path = "/Users/jirayu/Projects/Private/vimwiki_code/", syntax = "markdown", ext = ".md" },
{ path = "/Users/jirayu/Projects/Private/vimwiki_edu/", syntax = "markdown", ext = ".md" },
}
end,
}

View File

@ -8,38 +8,19 @@ return {
config = function()
local wk = require("which-key")
wk.register({
n = {
name = "vim",
h = { "<cmd>nohl<CR>", "Close Search Highlights" },
},
s = {
name = "splits",
v = { "<C-w>v", "Split vertical" },
s = { "<C-w>s", "Split horizontal" },
e = { "<C-w>=", "Make Splits equal" },
x = { "<cmd>close<CR>", "Close Split" },
},
m = {
name = "menu",
l = { "<cmd>Lazy<CR>", "Open Lazy Menu" },
m = { "<cmd>Mason<CR>", "Open Mason Menu" },
},
g = {
name = "git",
t = { "<cmd>Gitsigns toggle_signs<CR>", "Toggle Gitsigns" },
h = { "<cmd>Gitsigns toggle_linehl<CR>", "Toggle Line Highlights" },
s = { "<cmd>Telescope git_status<CR>", "git status" },
d = { "<cmd>Gvdiff<CR>", "Differences" },
w = { "<cmd>Gwrite<CR>", "Add File" },
N = { "<cmd>Gitsigns next_hunk<CR>", "Go to next hunk" },
P = { "<cmd>Gitsigns prev_hunk<CR>", "Go to previous hunk" },
c = { "<cmd>Git commit<CR>", "Commit" },
H = { "<cmd>Gitsigns stage_hunk", "Stage hunk" },
p = { "<cmd>Git push<CR>", "Push" },
C = { "<cmd>Telescope git_commits<CR>", "View commits" },
b = { "<cmd>Telescope git_branches<CR>", "View branches" },
},
}, { prefix = "<leader>" })
wk.add({
{ "<leader>n", group = "vim", icon = "" },
{ "<leader>nh", "<cmd>nohl<CR>", desc = "Close Search Highlights", icon = "" },
{ "<leader>no", "<cmd>foldopen<CR>", desc = "Open Fold", icon = "" },
{ "<leader>nc", "<cmd>foldclose<CR>", desc = "Close Fold", icon = "" },
{ "<leader>s", group = "splits", icon = "󱓡" },
{ "<leader>sv", "<C-w>v", desc = "Split vertical", icon = "" },
{ "<leader>sh", "<C-w>s", desc = "Split horizontal", icon = "" },
{ "<leader>se", "<C-w>=", desc = "Make Splits equal", icon = "󰤼" },
{ "<leader>sx", "<cmd>close<CR>", desc = "Close Split", icon = "󰅚" },
{ "<leader>i", group = "interface", icon = "󰮫" },
{ "<leader>il", "<cmd>Lazy<CR>", desc = "Open Lazy Menu" },
{ "<leader>im", "<cmd>Mason<CR>", desc = "Open Mason Menu" },
})
end,
}

View File

@ -25,7 +25,7 @@ local item = s(
{ trig = "-it", desc = "Itemize & Enumerate Item" },
fmt(
[[
\item {}
\item{}
]],
{
i(1, "Bulletpoint"),
@ -39,9 +39,7 @@ local tableenv = s(
fmt(
[[
\begin{{tabular}}{{|{}}}
\toprule
{}
\bottomrule
\end{{tabular}}
{}
@ -51,7 +49,7 @@ local tableenv = s(
local col = tonumber(snip.captures[2])
local result = ""
for j = 1, col do
result = result .. "c|"
result = result .. " c |"
j = j + 1
end
return sn(nil, t(result))
@ -62,7 +60,16 @@ local tableenv = s(
local node = {}
local p = 1
table.insert(node, i(p))
for j = 1, row - 1 do
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({ "\\\\", " \\hline", " " }))
p = p + 1
table.insert(node, i(p))
for j = 1, row - 2 do
for k = 1, col - 1 do
p = p + 1
table.insert(node, t(" & "))
@ -70,6 +77,8 @@ local tableenv = s(
k = k + 1
end
table.insert(node, t({ "\\\\", " " }))
p = p + 1
table.insert(node, i(p))
j = j + 1
end
for k = 1, col - 1 do
@ -141,6 +150,21 @@ table.insert(autosnippets, figcap)
-- Math --
local qed = s(
{ trig = "qed", regTrig = true, desc = "qed" },
fmt(
[[
\square
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, qed)
local matrix = s(
{ trig = "(.)mat(%d) (%d)", regTrig = true, desc = "Matrix Environment" },
fmt(
@ -188,6 +212,33 @@ local matrix = s(
)
table.insert(autosnippets, matrix)
local mp = s(
{ trig = "mp", regTrig = true, desc = "modus ponens" },
fmt(
[[
\begin{{tabular}}{{l}}
{}\\
{}\\
\hline
{}\\
\end{{tabular}}
{}
]],
{
i(1, "Lemmna 1"),
i(2, "Lemmna 2"),
i(3, "Conclusion"),
i(4),
}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, mp)
local mk = s(
{ trig = "mk", desc = "Math" },
fmt(
@ -207,7 +258,7 @@ local md = s(
fmt(
[[
\[
{}
{}
.\]
{}
@ -415,6 +466,42 @@ local bar = s(
)
table.insert(autosnippets, bar)
local dot = s(
{ trig = "-dot", regTrig = true, desc = "dot" },
fmt(
[[
\dot{{{}}}{}
]],
{
i(1, "Dot Variable"),
i(0),
}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, dot)
local vector = s(
{ trig = "-vec", regTrig = true, desc = "vector" },
fmt(
[[
\vec{{{}}}{}
]],
{
i(1, "Vector Variable"),
i(0),
}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, vector)
local tilde = s(
{ trig = "(%w+)tilde", regTrig = true, desc = "tilde" },
fmt(
@ -766,11 +853,11 @@ local inverse = s(
table.insert(autosnippets, inverse)
local rightarrow = s(
{ trig = "ra", desc = "Right Arrow" },
{ trig = "-ra", desc = "Right Arrow" },
fmt(
[[
\rightarrow
]],
\rightarrow
]],
{}
),
{
@ -780,8 +867,23 @@ local rightarrow = s(
)
table.insert(autosnippets, rightarrow)
local Rightarrow = s(
{ trig = "-Ra", desc = "Right Arrow" },
fmt(
[[
\Rightarrow
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, Rightarrow)
local leftarrow = s(
{ trig = "la", desc = "Left Arrow" },
{ trig = "-la", desc = "Left Arrow" },
fmt(
[[
\leftarrow
@ -795,6 +897,233 @@ local leftarrow = s(
)
table.insert(autosnippets, leftarrow)
local land = s(
{ trig = "land", regTrig = true, desc = "Logic and" },
fmt(
[[
\land
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, land)
local lor = s(
{ trig = "lor", regTrig = true, desc = "Logic or" },
fmt(
[[
\lor
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, lor)
local exists = s(
{ trig = "exists", regTrig = true, desc = "Logic exists" },
fmt(
[[
\exists
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, exists)
local forall = s(
{ trig = "forall", regTrig = true, desc = "Logic for all" },
fmt(
[[
\forall
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, forall)
local neg = s(
{ trig = "neg", regTrig = true, desc = "Logic negative" },
fmt(
[[
\neg
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, neg)
local xor = s(
{ trig = "xor", regTrig = true, desc = "Logic xor" },
fmt(
[[
\dot{{\lor}}
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, xor)
local sit = s(
{ trig = "in", regTrig = true, desc = "Set in" },
fmt(
[[
\in
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, sit)
local snin = s(
{ trig = "nin", regTrig = true, desc = "Set no in" },
fmt(
[[
\notin
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, snin)
local cup = s(
{ trig = "cup", regTrig = true, desc = "Set union" },
fmt(
[[
\cup
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, cup)
local cap = s(
{ trig = "cap", regTrig = true, desc = "Set intersection" },
fmt(
[[
\cap
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, cap)
local complement = s(
{ trig = "comp", regTrig = true, desc = "Set complement" },
fmt(
[[
^\complement
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, complement)
local minus = s(
{ trig = "not", regTrig = true, desc = "Set minus" },
fmt(
[[
\setminus
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, minus)
local times = s(
{ trig = "times", regTrig = true, desc = "Set times" },
fmt(
[[
\times
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, times)
local setinlucsion = s(
{ trig = "setin", desc = "Set set in" },
fmt(
[[
\subseteq
]],
{}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, setinlucsion)
local setbuilder = s(
{ trig = "-set", regTrig = true, desc = "Set set builder" },
fmt(
[[
\{{ {} \}}
]],
{
i(1, "Set"),
}
),
{
condition = math,
show_condition = math,
}
)
table.insert(autosnippets, setbuilder)
-- Greek Letters --
local degree = s(
@ -1266,7 +1595,7 @@ local phi = s(
{ trig = "phi", desc = "phi" },
fmt(
[[
\phi
\varphi
]],
{}
),

View File

@ -0,0 +1,38 @@
\documentclass[a4paper,11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{paralist}
\usepackage{geometry}
\geometry{left=2.5cm, right=2.5cm, top=2.5cm, bottom=2cm}
\setlength{\parindent}{0pt}
% TODO: Change Title Variable
\def\papertitle{Title}
\bibliographystyle{unsrt}
\pagestyle{fancy}
\lhead{\papertitle}
\rhead{Jirayu Ruh}
\lfoot{}
\cfoot{\thepage}
\rfoot{}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\begin{document}
\section{\papertitel}
% TODO: Begin Paper here.
\end{document}

View File

@ -0,0 +1,59 @@
\documentclass[a4paper,11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{paralist}
\usepackage{geometry}
\geometry{left=2.5cm, right=2.5cm, top=2.5cm, bottom=2cm}
\usepackage[onehalfspacing]{setspace}
% TODO: Change Variables
\def\paperauthor{Jirayu Ruh}
\def\papertitle{Title}
\def\paperthesis{Thesis}
\def\paperdate{Due Date}
% TODO: Change Word Count
\def\paperwordcount{Word Count}
\pagestyle{fancy}
\lhead{}
\rhead{\paperauthor}
\lfoot{}
\cfoot{\thepage}
\rfoot{}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\setlength{\parindent}{0pt}
\begin{document}
\begin{titlepage}
\centering
{\LARGE \textbf{\papertitle} \par}
\vspace{2cm}
% TODO: Change depending on language
{\Large \textbf{These:} \par}
% {\Large \textbf{Thesis:} \par}
{\Large \textbf{\paperthesis} \par}
\vspace{2cm}
{\Large Jirayu Ruh\par}
\vspace{0.5cm}
{\Large \paperdate \par}
\vspace{5cm}
{\Large Word count: \paperwordcount}
\end{titlepage}
\section{Title}
% TODO: Begin your paper here.
\end{document}

View File

@ -0,0 +1,178 @@
% Things Lie
\newcommand{\kb}{\mathfrak b}
\newcommand{\kg}{\mathfrak g}
\newcommand{\kh}{\mathfrak h}
\newcommand{\kn}{\mathfrak n}
\newcommand{\ku}{\mathfrak u}
\newcommand{\kz}{\mathfrak z}
\DeclareMathOperator{\Ext}{Ext} % Ext functor
\DeclareMathOperator{\Tor}{Tor} % Tor functor
\newcommand{\gl}{\opname{\mathfrak{gl}}} % frak gl group
\renewcommand{\sl}{\opname{\mathfrak{sl}}} % frak sl group chktex 6
% More script letters etc.
\newcommand{\SA}{\mathcal A}
\newcommand{\SB}{\mathcal B}
\newcommand{\SC}{\mathcal C}
\newcommand{\SF}{\mathcal F}
\newcommand{\SG}{\mathcal G}
\newcommand{\SH}{\mathcal H}
\newcommand{\OO}{\mathcal O}
\newcommand{\SCA}{\mathscr A}
\newcommand{\SCB}{\mathscr B}
\newcommand{\SCC}{\mathscr C}
\newcommand{\SCD}{\mathscr D}
\newcommand{\SCE}{\mathscr E}
\newcommand{\SCF}{\mathscr F}
\newcommand{\SCG}{\mathscr G}
\newcommand{\SCH}{\mathscr H}
% Mathfrak primes
\newcommand{\km}{\mathfrak m}
\newcommand{\kp}{\mathfrak p}
\newcommand{\kq}{\mathfrak q}
% number sets
\newcommand{\RR}[1][]{\ensuremath{\ifstrempty{#1}{\mathbb{R}}{\mathbb{R}^{#1}}}}
\newcommand{\NN}[1][]{\ensuremath{\ifstrempty{#1}{\mathbb{N}}{\mathbb{N}^{#1}}}}
\newcommand{\ZZ}[1][]{\ensuremath{\ifstrempty{#1}{\mathbb{Z}}{\mathbb{Z}^{#1}}}}
\newcommand{\QQ}[1][]{\ensuremath{\ifstrempty{#1}{\mathbb{Q}}{\mathbb{Q}^{#1}}}}
\newcommand{\CC}[1][]{\ensuremath{\ifstrempty{#1}{\mathbb{C}}{\mathbb{C}^{#1}}}}
\newcommand{\PP}[1][]{\ensuremath{\ifstrempty{#1}{\mathbb{P}}{\mathbb{P}^{#1}}}}
\newcommand{\HH}[1][]{\ensuremath{\ifstrempty{#1}{\mathbb{H}}{\mathbb{H}^{#1}}}}
\newcommand{\FF}[1][]{\ensuremath{\ifstrempty{#1}{\mathbb{F}}{\mathbb{F}^{#1}}}}
% expected value
\newcommand{\EE}{\ensuremath{\mathbb{E}}}
\newcommand{\charin}{\text{ char }}
\DeclareMathOperator{\sign}{sign}
\DeclareMathOperator{\Aut}{Aut}
\DeclareMathOperator{\Inn}{Inn}
\DeclareMathOperator{\Syl}{Syl}
\DeclareMathOperator{\Gal}{Gal}
\DeclareMathOperator{\GL}{GL} % General linear group
\DeclareMathOperator{\SL}{SL} % Special linear group
%---------------------------------------
% BlackBoard Math Fonts :-
%---------------------------------------
%Captital Letters
\newcommand{\bbA}{\mathbb{A}} \newcommand{\bbB}{\mathbb{B}}
\newcommand{\bbC}{\mathbb{C}} \newcommand{\bbD}{\mathbb{D}}
\newcommand{\bbE}{\mathbb{E}} \newcommand{\bbF}{\mathbb{F}}
\newcommand{\bbG}{\mathbb{G}} \newcommand{\bbH}{\mathbb{H}}
\newcommand{\bbI}{\mathbb{I}} \newcommand{\bbJ}{\mathbb{J}}
\newcommand{\bbK}{\mathbb{K}} \newcommand{\bbL}{\mathbb{L}}
\newcommand{\bbM}{\mathbb{M}} \newcommand{\bbN}{\mathbb{N}}
\newcommand{\bbO}{\mathbb{O}} \newcommand{\bbP}{\mathbb{P}}
\newcommand{\bbQ}{\mathbb{Q}} \newcommand{\bbR}{\mathbb{R}}
\newcommand{\bbS}{\mathbb{S}} \newcommand{\bbT}{\mathbb{T}}
\newcommand{\bbU}{\mathbb{U}} \newcommand{\bbV}{\mathbb{V}}
\newcommand{\bbW}{\mathbb{W}} \newcommand{\bbX}{\mathbb{X}}
\newcommand{\bbY}{\mathbb{Y}} \newcommand{\bbZ}{\mathbb{Z}}
%---------------------------------------
% MathCal Fonts :-
%---------------------------------------
%Captital Letters
\newcommand{\mcA}{\mathcal{A}} \newcommand{\mcB}{\mathcal{B}}
\newcommand{\mcC}{\mathcal{C}} \newcommand{\mcD}{\mathcal{D}}
\newcommand{\mcE}{\mathcal{E}} \newcommand{\mcF}{\mathcal{F}}
\newcommand{\mcG}{\mathcal{G}} \newcommand{\mcH}{\mathcal{H}}
\newcommand{\mcI}{\mathcal{I}} \newcommand{\mcJ}{\mathcal{J}}
\newcommand{\mcK}{\mathcal{K}} \newcommand{\mcL}{\mathcal{L}}
\newcommand{\mcM}{\mathcal{M}} \newcommand{\mcN}{\mathcal{N}}
\newcommand{\mcO}{\mathcal{O}} \newcommand{\mcP}{\mathcal{P}}
\newcommand{\mcQ}{\mathcal{Q}} \newcommand{\mcR}{\mathcal{R}}
\newcommand{\mcS}{\mathcal{S}} \newcommand{\mcT}{\mathcal{T}}
\newcommand{\mcU}{\mathcal{U}} \newcommand{\mcV}{\mathcal{V}}
\newcommand{\mcW}{\mathcal{W}} \newcommand{\mcX}{\mathcal{X}}
\newcommand{\mcY}{\mathcal{Y}} \newcommand{\mcZ}{\mathcal{Z}}
%---------------------------------------
% Bold Math Fonts :-
%---------------------------------------
%Captital Letters
\newcommand{\bmA}{\boldsymbol{A}} \newcommand{\bmB}{\boldsymbol{B}}
\newcommand{\bmC}{\boldsymbol{C}} \newcommand{\bmD}{\boldsymbol{D}}
\newcommand{\bmE}{\boldsymbol{E}} \newcommand{\bmF}{\boldsymbol{F}}
\newcommand{\bmG}{\boldsymbol{G}} \newcommand{\bmH}{\boldsymbol{H}}
\newcommand{\bmI}{\boldsymbol{I}} \newcommand{\bmJ}{\boldsymbol{J}}
\newcommand{\bmK}{\boldsymbol{K}} \newcommand{\bmL}{\boldsymbol{L}}
\newcommand{\bmM}{\boldsymbol{M}} \newcommand{\bmN}{\boldsymbol{N}}
\newcommand{\bmO}{\boldsymbol{O}} \newcommand{\bmP}{\boldsymbol{P}}
\newcommand{\bmQ}{\boldsymbol{Q}} \newcommand{\bmR}{\boldsymbol{R}}
\newcommand{\bmS}{\boldsymbol{S}} \newcommand{\bmT}{\boldsymbol{T}}
\newcommand{\bmU}{\boldsymbol{U}} \newcommand{\bmV}{\boldsymbol{V}}
\newcommand{\bmW}{\boldsymbol{W}} \newcommand{\bmX}{\boldsymbol{X}}
\newcommand{\bmY}{\boldsymbol{Y}} \newcommand{\bmZ}{\boldsymbol{Z}}
%Small Letters
\newcommand{\bma}{\boldsymbol{a}} \newcommand{\bmb}{\boldsymbol{b}}
\newcommand{\bmc}{\boldsymbol{c}} \newcommand{\bmd}{\boldsymbol{d}}
\newcommand{\bme}{\boldsymbol{e}} \newcommand{\bmf}{\boldsymbol{f}}
\newcommand{\bmg}{\boldsymbol{g}} \newcommand{\bmh}{\boldsymbol{h}}
\newcommand{\bmi}{\boldsymbol{i}} \newcommand{\bmj}{\boldsymbol{j}}
\newcommand{\bmk}{\boldsymbol{k}} \newcommand{\bml}{\boldsymbol{l}}
\newcommand{\bmm}{\boldsymbol{m}} \newcommand{\bmn}{\boldsymbol{n}}
\newcommand{\bmo}{\boldsymbol{o}} \newcommand{\bmp}{\boldsymbol{p}}
\newcommand{\bmq}{\boldsymbol{q}} \newcommand{\bmr}{\boldsymbol{r}}
\newcommand{\bms}{\boldsymbol{s}} \newcommand{\bmt}{\boldsymbol{t}}
\newcommand{\bmu}{\boldsymbol{u}} \newcommand{\bmv}{\boldsymbol{v}}
\newcommand{\bmw}{\boldsymbol{w}} \newcommand{\bmx}{\boldsymbol{x}}
\newcommand{\bmy}{\boldsymbol{y}} \newcommand{\bmz}{\boldsymbol{z}}
%---------------------------------------
% Scr Math Fonts :-
%---------------------------------------
\newcommand{\sA}{{\mathscr{A}}} \newcommand{\sB}{{\mathscr{B}}}
\newcommand{\sC}{{\mathscr{C}}} \newcommand{\sD}{{\mathscr{D}}}
\newcommand{\sE}{{\mathscr{E}}} \newcommand{\sF}{{\mathscr{F}}}
\newcommand{\sG}{{\mathscr{G}}} \newcommand{\sH}{{\mathscr{H}}}
\newcommand{\sI}{{\mathscr{I}}} \newcommand{\sJ}{{\mathscr{J}}}
\newcommand{\sK}{{\mathscr{K}}} \newcommand{\sL}{{\mathscr{L}}}
\newcommand{\sM}{{\mathscr{M}}} \newcommand{\sN}{{\mathscr{N}}}
\newcommand{\sO}{{\mathscr{O}}} \newcommand{\sP}{{\mathscr{P}}}
\newcommand{\sQ}{{\mathscr{Q}}} \newcommand{\sR}{{\mathscr{R}}}
\newcommand{\sS}{{\mathscr{S}}} \newcommand{\sT}{{\mathscr{T}}}
\newcommand{\sU}{{\mathscr{U}}} \newcommand{\sV}{{\mathscr{V}}}
\newcommand{\sW}{{\mathscr{W}}} \newcommand{\sX}{{\mathscr{X}}}
\newcommand{\sY}{{\mathscr{Y}}} \newcommand{\sZ}{{\mathscr{Z}}}
%---------------------------------------
% Math Fraktur Font
%---------------------------------------
%Captital Letters
\newcommand{\mfA}{\mathfrak{A}} \newcommand{\mfB}{\mathfrak{B}}
\newcommand{\mfC}{\mathfrak{C}} \newcommand{\mfD}{\mathfrak{D}}
\newcommand{\mfE}{\mathfrak{E}} \newcommand{\mfF}{\mathfrak{F}}
\newcommand{\mfG}{\mathfrak{G}} \newcommand{\mfH}{\mathfrak{H}}
\newcommand{\mfI}{\mathfrak{I}} \newcommand{\mfJ}{\mathfrak{J}}
\newcommand{\mfK}{\mathfrak{K}} \newcommand{\mfL}{\mathfrak{L}}
\newcommand{\mfM}{\mathfrak{M}} \newcommand{\mfN}{\mathfrak{N}}
\newcommand{\mfO}{\mathfrak{O}} \newcommand{\mfP}{\mathfrak{P}}
\newcommand{\mfQ}{\mathfrak{Q}} \newcommand{\mfR}{\mathfrak{R}}
\newcommand{\mfS}{\mathfrak{S}} \newcommand{\mfT}{\mathfrak{T}}
\newcommand{\mfU}{\mathfrak{U}} \newcommand{\mfV}{\mathfrak{V}}
\newcommand{\mfW}{\mathfrak{W}} \newcommand{\mfX}{\mathfrak{X}}
\newcommand{\mfY}{\mathfrak{Y}} \newcommand{\mfZ}{\mathfrak{Z}}
%Small Letters
\newcommand{\mfa}{\mathfrak{a}} \newcommand{\mfb}{\mathfrak{b}}
\newcommand{\mfc}{\mathfrak{c}} \newcommand{\mfd}{\mathfrak{d}}
\newcommand{\mfe}{\mathfrak{e}} \newcommand{\mff}{\mathfrak{f}}
\newcommand{\mfg}{\mathfrak{g}} \newcommand{\mfh}{\mathfrak{h}}
\newcommand{\mfi}{\mathfrak{i}} \newcommand{\mfj}{\mathfrak{j}}
\newcommand{\mfk}{\mathfrak{k}} \newcommand{\mfl}{\mathfrak{l}}
\newcommand{\mfm}{\mathfrak{m}} \newcommand{\mfn}{\mathfrak{n}}
\newcommand{\mfo}{\mathfrak{o}} \newcommand{\mfp}{\mathfrak{p}}
\newcommand{\mfq}{\mathfrak{q}} \newcommand{\mfr}{\mathfrak{r}}
\newcommand{\mfs}{\mathfrak{s}} \newcommand{\mft}{\mathfrak{t}}
\newcommand{\mfu}{\mathfrak{u}} \newcommand{\mfv}{\mathfrak{v}}
\newcommand{\mfw}{\mathfrak{w}} \newcommand{\mfx}{\mathfrak{x}}
\newcommand{\mfy}{\mathfrak{y}} \newcommand{\mfz}{\mathfrak{z}}

View File

@ -0,0 +1,88 @@
%From M275 "Topology" at SJSU
\newcommand{\id}{\mathrm{id}}
\newcommand{\taking}[1]{\xrightarrow{#1}}
\newcommand{\inv}{^{-1}}
%From M170 "Introduction to Graph Theory" at SJSU
\DeclareMathOperator{\diam}{diam}
\DeclareMathOperator{\ord}{ord}
\newcommand{\defeq}{\overset{\mathrm{def}}{=}}
%From the USAMO .tex files
\newcommand{\ts}{\textsuperscript}
\newcommand{\dg}{^\circ}
\newcommand{\ii}{\item}
% % From Math 55 and Math 145 at Harvard
% \newenvironment{subproof}[1][Proof]{%
% \begin{proof}[#1] \renewcommand{\qedsymbol}{$\blacksquare$}}%
% {\end{proof}}
\newcommand{\liff}{\leftrightarrow}
\newcommand{\lthen}{\rightarrow}
\newcommand{\opname}{\operatorname}
\newcommand{\surjto}{\twoheadrightarrow}
\newcommand{\injto}{\hookrightarrow}
\newcommand{\On}{\mathrm{On}} % ordinals
\DeclareMathOperator{\img}{im} % Image
\DeclareMathOperator{\Img}{Im} % Image
\DeclareMathOperator{\coker}{coker} % Cokernel
\DeclareMathOperator{\Coker}{Coker} % Cokernel
\DeclareMathOperator{\Ker}{Ker} % Kernel
\DeclareMathOperator{\rank}{rank}
\DeclareMathOperator{\Spec}{Spec} % spectrum
\DeclareMathOperator{\Tr}{Tr} % trace
\DeclareMathOperator{\pr}{pr} % projection
\DeclareMathOperator{\ext}{ext} % extension
\DeclareMathOperator{\pred}{pred} % predecessor
\DeclareMathOperator{\dom}{dom} % domain
\DeclareMathOperator{\ran}{ran} % range
\DeclareMathOperator{\Hom}{Hom} % homomorphism
\DeclareMathOperator{\Mor}{Mor} % morphisms
\DeclareMathOperator{\End}{End} % endomorphism
\newcommand{\eps}{\epsilon}
\newcommand{\veps}{\varepsilon}
\newcommand{\ol}{\overline}
\newcommand{\ul}{\underline}
\newcommand{\wt}{\widetilde}
\newcommand{\wh}{\widehat}
\newcommand{\vocab}[1]{\textbf{\color{blue} #1}}
\providecommand{\half}{\frac{1}{2}}
\newcommand{\dang}{\measuredangle} %% Directed angle
\newcommand{\ray}[1]{\overrightarrow{#1}}
\newcommand{\seg}[1]{\overline{#1}}
\newcommand{\arc}[1]{\wideparen{#1}}
\DeclareMathOperator{\cis}{cis}
\DeclareMathOperator*{\lcm}{lcm}
\DeclareMathOperator*{\argmin}{arg min}
\DeclareMathOperator*{\argmax}{arg max}
\newcommand{\cycsum}{\sum_{\mathrm{cyc}}}
\newcommand{\symsum}{\sum_{\mathrm{sym}}}
\newcommand{\cycprod}{\prod_{\mathrm{cyc}}}
\newcommand{\symprod}{\prod_{\mathrm{sym}}}
\newcommand{\Qed}{\begin{flushright}\qed\end{flushright}}
\newcommand{\parinn}{\setlength{\parindent}{1cm}}
\newcommand{\parinf}{\setlength{\parindent}{0cm}}
% \newcommand{\norm}{\|\cdot\|}
\newcommand{\inorm}{\norm_{\infty}}
\newcommand{\opensets}{\{V_{\alpha}\}_{\alpha\in I}}
\newcommand{\oset}{V_{\alpha}}
\newcommand{\opset}[1]{V_{\alpha_{#1}}}
\newcommand{\lub}{\text{lub}}
\newcommand{\del}[2]{\frac{\partial #1}{\partial #2}}
\newcommand{\Del}[3]{\frac{\partial^{#1} #2}{\partial^{#1} #3}}
\newcommand{\deld}[2]{\dfrac{\partial #1}{\partial #2}}
\newcommand{\Deld}[3]{\dfrac{\partial^{#1} #2}{\partial^{#1} #3}}
\newcommand{\lm}{\lambda}
\newcommand{\uin}{\mathbin{\rotatebox[origin=c]{90}{$\in$}}}
\newcommand{\usubset}{\mathbin{\rotatebox[origin=c]{90}{$\subset$}}}
\newcommand{\lt}{\left}
\newcommand{\rt}{\right}
\newcommand{\bs}[1]{\boldsymbol{#1}}
\newcommand{\exs}{\exists}
\newcommand{\st}{\strut}
\newcommand{\dps}[1]{\displaystyle{#1}}
\newcommand{\sol}{\setlength{\parindent}{0cm}\textbf{\textit{Solution:}}\setlength{\parindent}{1cm} }
\newcommand{\solve}[1]{\setlength{\parindent}{0cm}\textbf{\textit{Solution: }}\setlength{\parindent}{1cm}#1 \Qed}

View File

@ -0,0 +1,43 @@
\documentclass{report}
% TODO: Change Variables
\def\papertitle{Title}
% TODO: Change variables according to language preference
\def\theorytitle{Theory}
\def\theorytitle{Theorie}
\def\corollarytitle{Corollary}
\def\corollarytitle{Daraus folgt}
\def\proposaltitle{Proposal}
\def\proposaltitle{Vorschlag}
\def\claimtitle{Claim}
\def\claimtitle{Behauptung}
\def\exercisetitle{Exercise}
\def\exercisetitle{Aufgabe}
\def\exampletitle{Example}
\def\exampletitle{Beispiel}
\def\questiontitle{Question}
\def\questiontitle{Frage}
\def\wrongctitle{Wrong Concept}
\def\wrongctitle{Falscher Konzept}
\input{preamble}
\input{macros}
\input{letterfonts}
\title{\huge{\papertitle}}
\author{\huge{Jirayu Ruh}}
\date{}
\begin{document}
\maketitle
\newpage% or \cleardoublepage
% \pdfbookmark[<level>]{<title>}{<dest>}
\pdfbookmark[section]{\contentsname}{toc}
\tableofcontents
\pagebreak
% TODO: Begin Paper here.
\end{document}

View File

@ -0,0 +1,777 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% PACKAGE IMPORTS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \usepackage[ngerman]{babel}
\usepackage[tmargin=2cm,rmargin=1in,lmargin=1in,margin=0.85in,bmargin=2cm,footskip=.2in]{geometry}
\usepackage{amsmath,amsfonts,amsthm,amssymb,mathtools}
\usepackage[varbb]{newpxmath}
\usepackage{xfrac}
\usepackage[makeroom]{cancel}
\usepackage{mathtools}
\usepackage{bookmark}
\usepackage{enumitem}
\usepackage{hyperref,theoremref}
\hypersetup{
pdftitle={Assignment},
colorlinks=true, linkcolor=doc!90,
bookmarksnumbered=true,
bookmarksopen=true
}
\usepackage[most,many,breakable]{tcolorbox}
\usepackage{xcolor}
\usepackage{varwidth}
\usepackage{varwidth}
\usepackage{etoolbox}
%\usepackage{authblk}
\usepackage{nameref}
\usepackage{multicol,array}
\usepackage{tikz-cd}
\usepackage[ruled,vlined,linesnumbered]{algorithm2e}
\usepackage{comment} % enables the use of multi-line comments (\ifx \fi)
\usepackage{import}
\usepackage{xifthen}
\usepackage{pdfpages}
\usepackage{transparent}
\newcommand\mycommfont[1]{\footnotesize\ttfamily\textcolor{blue}{#1}}
\SetCommentSty{mycommfont}
\newcommand{\incfig}[1]{%
\def\svgwidth{\columnwidth}
\import{./figures/}{#1.pdf_tex}
}
\usepackage{tikzsymbols}
\renewcommand\qedsymbol{$\Laughey$}
%\usepackage{import}
%\usepackage{xifthen}
%\usepackage{pdfpages}
%\usepackage{transparent}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SELF MADE COLORS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{myg}{RGB}{56, 140, 70}
\definecolor{myb}{RGB}{45, 111, 177}
\definecolor{myr}{RGB}{199, 68, 64}
\definecolor{mytheorembg}{HTML}{F2F2F9}
\definecolor{mytheoremfr}{HTML}{00007B}
\definecolor{mylenmabg}{HTML}{FFFAF8}
\definecolor{mylenmafr}{HTML}{983b0f}
\definecolor{mypropbg}{HTML}{f2fbfc}
\definecolor{mypropfr}{HTML}{191971}
\definecolor{myexamplebg}{HTML}{F2FBF8}
\definecolor{myexamplefr}{HTML}{88D6D1}
\definecolor{myexampleti}{HTML}{2A7F7F}
\definecolor{mydefinitbg}{HTML}{E5E5FF}
\definecolor{mydefinitfr}{HTML}{3F3FA3}
\definecolor{notesgreen}{RGB}{0,162,0}
\definecolor{myp}{RGB}{197, 92, 212}
\definecolor{mygr}{HTML}{2C3338}
\definecolor{myred}{RGB}{127,0,0}
\definecolor{myyellow}{RGB}{169,121,69}
\definecolor{myexercisebg}{HTML}{F2FBF8}
\definecolor{myexercisefg}{HTML}{88D6D1}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TCOLORBOX SETUPS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\parindent}{1cm}
%================================
% THEOREM BOX
%================================
\tcbuselibrary{theorems,skins,hooks}
\newtcbtheorem[number within=section]{Theorem}{\theorytitle}
{%
enhanced,
breakable,
colback = mytheorembg,
frame hidden,
boxrule = 0sp,
borderline west = {2pt}{0pt}{mytheoremfr},
sharp corners,
detach title,
before upper = \tcbtitle\par\smallskip,
coltitle = mytheoremfr,
fonttitle = \bfseries\sffamily,
description font = \mdseries,
separator sign none,
segmentation style={solid, mytheoremfr},
}
{th}
\tcbuselibrary{theorems,skins,hooks}
\newtcbtheorem[number within=chapter]{theorem}{\theorytitle}
{%
enhanced,
breakable,
colback = mytheorembg,
frame hidden,
boxrule = 0sp,
borderline west = {2pt}{0pt}{mytheoremfr},
sharp corners,
detach title,
before upper = \tcbtitle\par\smallskip,
coltitle = mytheoremfr,
fonttitle = \bfseries\sffamily,
description font = \mdseries,
separator sign none,
segmentation style={solid, mytheoremfr},
}
{th}
\tcbuselibrary{theorems,skins,hooks}
\newtcolorbox{Theoremcon}
{%
enhanced
,breakable
,colback = mytheorembg
,frame hidden
,boxrule = 0sp
,borderline west = {2pt}{0pt}{mytheoremfr}
,sharp corners
,description font = \mdseries
,separator sign none
}
%================================
% Corollery
%================================
\tcbuselibrary{theorems,skins,hooks}
\newtcbtheorem[number within=section]{Corollary}{\corollarytitle}
{%
enhanced
,breakable
,colback = myp!10
,frame hidden
,boxrule = 0sp
,borderline west = {2pt}{0pt}{myp!85!black}
,sharp corners
,detach title
,before upper = \tcbtitle\par\smallskip
,coltitle = myp!85!black
,fonttitle = \bfseries\sffamily
,description font = \mdseries
,separator sign none
,segmentation style={solid, myp!85!black}
}
{th}
\tcbuselibrary{theorems,skins,hooks}
\newtcbtheorem[number within=chapter]{corollary}{\corollarytitle}
{%
enhanced
,breakable
,colback = myp!10
,frame hidden
,boxrule = 0sp
,borderline west = {2pt}{0pt}{myp!85!black}
,sharp corners
,detach title
,before upper = \tcbtitle\par\smallskip
,coltitle = myp!85!black
,fonttitle = \bfseries\sffamily
,description font = \mdseries
,separator sign none
,segmentation style={solid, myp!85!black}
}
{th}
%================================
% LENMA
%================================
\tcbuselibrary{theorems,skins,hooks}
\newtcbtheorem[number within=section]{Lenma}{Lenma}
{%
enhanced,
breakable,
colback = mylenmabg,
frame hidden,
boxrule = 0sp,
borderline west = {2pt}{0pt}{mylenmafr},
sharp corners,
detach title,
before upper = \tcbtitle\par\smallskip,
coltitle = mylenmafr,
fonttitle = \bfseries\sffamily,
description font = \mdseries,
separator sign none,
segmentation style={solid, mylenmafr},
}
{th}
\tcbuselibrary{theorems,skins,hooks}
\newtcbtheorem[number within=chapter]{lenma}{Lenma}
{%
enhanced,
breakable,
colback = mylenmabg,
frame hidden,
boxrule = 0sp,
borderline west = {2pt}{0pt}{mylenmafr},
sharp corners,
detach title,
before upper = \tcbtitle\par\smallskip,
coltitle = mylenmafr,
fonttitle = \bfseries\sffamily,
description font = \mdseries,
separator sign none,
segmentation style={solid, mylenmafr},
}
{th}
%================================
% PROPOSITION
%================================
\tcbuselibrary{theorems,skins,hooks}
\newtcbtheorem[number within=section]{Prop}{\proposaltitle}
{%
enhanced,
breakable,
colback = mypropbg,
frame hidden,
boxrule = 0sp,
borderline west = {2pt}{0pt}{mypropfr},
sharp corners,
detach title,
before upper = \tcbtitle\par\smallskip,
coltitle = mypropfr,
fonttitle = \bfseries\sffamily,
description font = \mdseries,
separator sign none,
segmentation style={solid, mypropfr},
}
{th}
\tcbuselibrary{theorems,skins,hooks}
\newtcbtheorem[number within=chapter]{prop}{\proposaltitle}
{%
enhanced,
breakable,
colback = mypropbg,
frame hidden,
boxrule = 0sp,
borderline west = {2pt}{0pt}{mypropfr},
sharp corners,
detach title,
before upper = \tcbtitle\par\smallskip,
coltitle = mypropfr,
fonttitle = \bfseries\sffamily,
description font = \mdseries,
separator sign none,
segmentation style={solid, mypropfr},
}
{th}
%================================
% CLAIM
%================================
\tcbuselibrary{theorems,skins,hooks}
\newtcbtheorem[number within=section]{claim}{\claimtitle}
{%
enhanced
,breakable
,colback = myg!10
,frame hidden
,boxrule = 0sp
,borderline west = {2pt}{0pt}{myg}
,sharp corners
,detach title
,before upper = \tcbtitle\par\smallskip
,coltitle = myg!85!black
,fonttitle = \bfseries\sffamily
,description font = \mdseries
,separator sign none
,segmentation style={solid, myg!85!black}
}
{th}
%================================
% Exercise
%================================
\tcbuselibrary{theorems,skins,hooks}
\newtcbtheorem[number within=section]{Exercise}{\exercisetitle}
{%
enhanced,
breakable,
colback = myexercisebg,
frame hidden,
boxrule = 0sp,
borderline west = {2pt}{0pt}{myexercisefg},
sharp corners,
detach title,
before upper = \tcbtitle\par\smallskip,
coltitle = myexercisefg,
fonttitle = \bfseries\sffamily,
description font = \mdseries,
separator sign none,
segmentation style={solid, myexercisefg},
}
{th}
\tcbuselibrary{theorems,skins,hooks}
\newtcbtheorem[number within=chapter]{exercise}{\exercisetitle}
{%
enhanced,
breakable,
colback = myexercisebg,
frame hidden,
boxrule = 0sp,
borderline west = {2pt}{0pt}{myexercisefg},
sharp corners,
detach title,
before upper = \tcbtitle\par\smallskip,
coltitle = myexercisefg,
fonttitle = \bfseries\sffamily,
description font = \mdseries,
separator sign none,
segmentation style={solid, myexercisefg},
}
{th}
%================================
% EXAMPLE BOX
%================================
\newtcbtheorem[number within=section]{Example}{\exampletitle}
{%
colback = myexamplebg
,breakable
,colframe = myexamplefr
,coltitle = myexampleti
,boxrule = 1pt
,sharp corners
,detach title
,before upper=\tcbtitle\par\smallskip
,fonttitle = \bfseries
,description font = \mdseries
,separator sign none
,description delimiters parenthesis
}
{ex}
\newtcbtheorem[number within=chapter]{example}{\exampletitle}
{%
colback = myexamplebg
,breakable
,colframe = myexamplefr
,coltitle = myexampleti
,boxrule = 1pt
,sharp corners
,detach title
,before upper=\tcbtitle\par\smallskip
,fonttitle = \bfseries
,description font = \mdseries
,separator sign none
,description delimiters parenthesis
}
{ex}
%================================
% DEFINITION BOX
%================================
\newtcbtheorem[number within=section]{Definition}{Definition}{enhanced,
before skip=2mm,after skip=2mm, colback=red!5,colframe=red!80!black,boxrule=0.5mm,
attach boxed title to top left={xshift=1cm,yshift*=1mm-\tcboxedtitleheight}, varwidth boxed title*=-3cm,
boxed title style={frame code={
\path[fill=tcbcolback]
([yshift=-1mm,xshift=-1mm]frame.north west)
arc[start angle=0,end angle=180,radius=1mm]
([yshift=-1mm,xshift=1mm]frame.north east)
arc[start angle=180,end angle=0,radius=1mm];
\path[left color=tcbcolback!60!black,right color=tcbcolback!60!black,
middle color=tcbcolback!80!black]
([xshift=-2mm]frame.north west) -- ([xshift=2mm]frame.north east)
[rounded corners=1mm]-- ([xshift=1mm,yshift=-1mm]frame.north east)
-- (frame.south east) -- (frame.south west)
-- ([xshift=-1mm,yshift=-1mm]frame.north west)
[sharp corners]-- cycle;
},interior engine=empty,
},
fonttitle=\bfseries,
title={#2},#1}{def}
\newtcbtheorem[number within=chapter]{definition}{Definition}{enhanced,
before skip=2mm,after skip=2mm, colback=red!5,colframe=red!80!black,boxrule=0.5mm,
attach boxed title to top left={xshift=1cm,yshift*=1mm-\tcboxedtitleheight}, varwidth boxed title*=-3cm,
boxed title style={frame code={
\path[fill=tcbcolback]
([yshift=-1mm,xshift=-1mm]frame.north west)
arc[start angle=0,end angle=180,radius=1mm]
([yshift=-1mm,xshift=1mm]frame.north east)
arc[start angle=180,end angle=0,radius=1mm];
\path[left color=tcbcolback!60!black,right color=tcbcolback!60!black,
middle color=tcbcolback!80!black]
([xshift=-2mm]frame.north west) -- ([xshift=2mm]frame.north east)
[rounded corners=1mm]-- ([xshift=1mm,yshift=-1mm]frame.north east)
-- (frame.south east) -- (frame.south west)
-- ([xshift=-1mm,yshift=-1mm]frame.north west)
[sharp corners]-- cycle;
},interior engine=empty,
},
fonttitle=\bfseries,
title={#2},#1}{def}
%================================
% Solution BOX
%================================
\makeatletter
\newtcbtheorem{question}{\questiontitle}{enhanced,
breakable,
colback=white,
colframe=myb!80!black,
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
fonttitle=\bfseries,
title={#2},
boxed title size=title,
boxed title style={%
sharp corners,
rounded corners=northwest,
colback=tcbcolframe,
boxrule=0pt,
},
underlay boxed title={%
\path[fill=tcbcolframe] (title.south west)--(title.south east)
to[out=0, in=180] ([xshift=5mm]title.east)--
(title.center-|frame.east)
[rounded corners=\kvtcb@arc] |-
(frame.north) -| cycle;
},
#1
}{def}
\makeatother
%================================
% SOLUTION BOX
%================================
\makeatletter
\newtcolorbox{solution}{enhanced,
breakable,
colback=white,
colframe=myg!80!black,
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
title=Solution,
boxed title size=title,
boxed title style={%
sharp corners,
rounded corners=northwest,
colback=tcbcolframe,
boxrule=0pt,
},
underlay boxed title={%
\path[fill=tcbcolframe] (title.south west)--(title.south east)
to[out=0, in=180] ([xshift=5mm]title.east)--
(title.center-|frame.east)
[rounded corners=\kvtcb@arc] |-
(frame.north) -| cycle;
},
}
\makeatother
%================================
% Question BOX
%================================
\makeatletter
\newtcbtheorem{qstion}{\questiontitle}{enhanced,
breakable,
colback=white,
colframe=mygr,
attach boxed title to top left={yshift*=-\tcboxedtitleheight},
fonttitle=\bfseries,
title={#2},
boxed title size=title,
boxed title style={%
sharp corners,
rounded corners=northwest,
colback=tcbcolframe,
boxrule=0pt,
},
underlay boxed title={%
\path[fill=tcbcolframe] (title.south west)--(title.south east)
to[out=0, in=180] ([xshift=5mm]title.east)--
(title.center-|frame.east)
[rounded corners=\kvtcb@arc] |-
(frame.north) -| cycle;
},
#1
}{def}
\makeatother
\newtcbtheorem[number within=chapter]{wconc}{\wrongctitle}{
breakable,
enhanced,
colback=white,
colframe=myr,
arc=0pt,
outer arc=0pt,
fonttitle=\bfseries\sffamily\large,
colbacktitle=myr,
attach boxed title to top left={},
boxed title style={
enhanced,
skin=enhancedfirst jigsaw,
arc=3pt,
bottom=0pt,
interior style={fill=myr}
},
#1
}{def}
%================================
% NOTE BOX
%================================
\usetikzlibrary{arrows,calc,shadows.blur}
\tcbuselibrary{skins}
\newtcolorbox{note}[1][]{%
enhanced jigsaw,
colback=gray!20!white,%
colframe=gray!80!black,
size=small,
boxrule=1pt,
title=\textbf{Bemerkung:-},
halign title=flush center,
coltitle=black,
breakable,
drop shadow=black!50!white,
attach boxed title to top left={xshift=1cm,yshift=-\tcboxedtitleheight/2,yshifttext=-\tcboxedtitleheight/2},
minipage boxed title=2.5cm,
boxed title style={%
colback=white,
size=fbox,
boxrule=1pt,
boxsep=2pt,
underlay={%
\coordinate (dotA) at ($(interior.west) + (-0.5pt,0)$);
\coordinate (dotB) at ($(interior.east) + (0.5pt,0)$);
\begin{scope}
\clip (interior.north west) rectangle ([xshift=3ex]interior.east);
\filldraw [white, blur shadow={shadow opacity=60, shadow yshift=-.75ex}, rounded corners=2pt] (interior.north west) rectangle (interior.south east);
\end{scope}
\begin{scope}[gray!80!black]
\fill (dotA) circle (2pt);
\fill (dotB) circle (2pt);
\end{scope}
},
},
#1,
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SELF MADE COMMANDS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\thm}[2]{\begin{Theorem}{#1}{}#2\end{Theorem}}
\newcommand{\cor}[2]{\begin{Corollary}{#1}{}#2\end{Corollary}}
\newcommand{\mlenma}[2]{\begin{Lenma}{#1}{}#2\end{Lenma}}
\newcommand{\mprop}[2]{\begin{Prop}{#1}{}#2\end{Prop}}
\newcommand{\clm}[3]{\begin{claim}{#1}{#2}#3\end{claim}}
\newcommand{\wc}[2]{\begin{wconc}{#1}{}\setlength{\parindent}{1cm}#2\end{wconc}}
\newcommand{\thmcon}[1]{\begin{Theoremcon}{#1}\end{Theoremcon}}
\newcommand{\ex}[2]{\begin{Example}{#1}{}#2\end{Example}}
\newcommand{\dfn}[2]{\begin{Definition}[colbacktitle=red!75!black]{#1}{}#2\end{Definition}}
\newcommand{\dfnc}[2]{\begin{definition}[colbacktitle=red!75!black]{#1}{}#2\end{definition}}
\newcommand{\qs}[2]{\begin{question}{#1}{}#2\end{question}}
\newcommand{\pf}[2]{\begin{myproof}[#1]#2\end{myproof}}
\newcommand{\nt}[1]{\begin{note}#1\end{note}}
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
Wrong Concept \node[shape=circle,draw,inner sep=1pt] (char) {#1};}}
\newcommand\getcurrentref[1]{%
\ifnumequal{\value{#1}}{0}
{??}
{\the\value{#1}}%
}
\newcommand{\getCurrentSectionNumber}{\getcurrentref{section}}
\newenvironment{myproof}[1][\proofname]{%
\proof[\bfseries #1: ]%
}{\endproof}
\newcommand{\mclm}[2]{\begin{myclaim}[#1]#2\end{myclaim}}
\newenvironment{myclaim}[1][\claimname]{\proof[\bfseries #1: ]}{}
\newcounter{mylabelcounter}
\makeatletter
\newcommand{\setword}[2]{%
\phantomsection
#1\def\@currentlabel{\unexpanded{#1}}\label{#2}%
}
\makeatother
\tikzset{
symbol/.style={
draw=none,
every to/.append style={
edge node={node [sloped, allow upside down, auto=false]{$#1$}}}
}
}
% deliminators
\DeclarePairedDelimiter{\abs}{\lvert}{\rvert}
\DeclarePairedDelimiter{\norm}{\lVert}{\rVert}
\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
\DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor}
\DeclarePairedDelimiter{\round}{\lfloor}{\rceil}
\newsavebox\diffdbox
\newcommand{\slantedromand}{{\mathpalette\makesl{d}}}
\newcommand{\makesl}[2]{%
\begingroup
\sbox{\diffdbox}{$\mathsurround=0pt#1\mathrm{#2}$}%
\pdfsave
\pdfsetmatrix{1 0 0.2 1}%
\rlap{\usebox{\diffdbox}}%
\pdfrestore
\hskip\wd\diffdbox
\endgroup
}
\newcommand{\dd}[1][]{\ensuremath{\mathop{}\!\ifstrempty{#1}{%
\slantedromand\@ifnextchar^{\hspace{0.2ex}}{\hspace{0.1ex}}}%
{\slantedromand\hspace{0.2ex}^{#1}}}}
\ProvideDocumentCommand\dv{o m g}{%
\ensuremath{%
\IfValueTF{#3}{%
\IfNoValueTF{#1}{%
\frac{\dd #2}{\dd #3}%
}{%
\frac{\dd^{#1} #2}{\dd #3^{#1}}%
}%
}{%
\IfNoValueTF{#1}{%
\frac{\dd}{\dd #2}%
}{%
\frac{\dd^{#1}}{\dd #2^{#1}}%
}%
}%
}%
}
\providecommand*{\pdv}[3][]{\frac{\partial^{#1}#2}{\partial#3^{#1}}}
% - others
\DeclareMathOperator{\Lap}{\mathcal{L}}
\DeclareMathOperator{\Var}{Var} % varience
\DeclareMathOperator{\Cov}{Cov} % covarience
\DeclareMathOperator{\E}{E} % expected
% Since the amsthm package isn't loaded
% I prefer the slanted \leq
\let\oldleq\leq % save them in case they're every wanted
\let\oldgeq\geq
\renewcommand{\leq}{\leqslant}
\renewcommand{\geq}{\geqslant}
% % redefine matrix env to allow for alignment, use r as default
% \renewcommand*\env@matrix[1][r]{\hskip -\arraycolsep
% \let\@ifnextchar\new@ifnextchar
% \array{*\c@MaxMatrixCols #1}}
%\usepackage{framed}
%\usepackage{titletoc}
%\usepackage{etoolbox}
%\usepackage{lmodern}
%\patchcmd{\tableofcontents}{\contentsname}{\sffamily\contentsname}{}{}
%\renewenvironment{leftbar}
%{\def\FrameCommand{\hspace{6em}%
% {\color{myyellow}\vrule width 2pt depth 6pt}\hspace{1em}}%
% \MakeFramed{\parshape 1 0cm \dimexpr\textwidth-6em\relax\FrameRestore}\vskip2pt%
%}
%{\endMakeFramed}
%\titlecontents{chapter}
%[0em]{\vspace*{2\baselineskip}}
%{\parbox{4.5em}{%
% \hfill\Huge\sffamily\bfseries\color{myred}\thecontentspage}%
% \vspace*{-2.3\baselineskip}\leftbar\textsc{\small\chaptername~\thecontentslabel}\\\sffamily}
%{}{\endleftbar}
%\titlecontents{section}
%[8.4em]
%{\sffamily\contentslabel{3em}}{}{}
%{\hspace{0.5em}\nobreak\itshape\color{myred}\contentspage}
%\titlecontents{subsection}
%[8.4em]
%{\sffamily\contentslabel{3em}}{}{}
%{\hspace{0.5em}\nobreak\itshape\color{myred}\contentspage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TABLE OF CONTENTS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{tikz}
\definecolor{doc}{RGB}{0,60,110}
\usepackage{titletoc}
\contentsmargin{0cm}
\titlecontents{chapter}[3.7pc]
{\addvspace{30pt}%
\begin{tikzpicture}[remember picture, overlay]%
\draw[fill=doc!60,draw=doc!60] (-7,-.1) rectangle (-0.9,.5);%
\pgftext[left,x=-3.5cm,y=0.2cm]{\color{white}\Large\sc\bfseries Chapter\ \thecontentslabel};%
\end{tikzpicture}\color{doc!60}\large\sc\bfseries}%
{}
{}
{\;\titlerule\;\large\sc\bfseries Page \thecontentspage
\begin{tikzpicture}[remember picture, overlay]
\draw[fill=doc!60,draw=doc!60] (2pt,0) rectangle (4,0.1pt);
\end{tikzpicture}}%
\titlecontents{section}[3.7pc]
{\addvspace{2pt}}
{\contentslabel[\thecontentslabel]{2pc}}
{}
{\hfill\small \thecontentspage}
[]
\titlecontents*{subsection}[3.7pc]
{\addvspace{-1pt}\small}
{}
{}
{\ --- \small\thecontentspage}
[ \textbullet\ ][]
\makeatletter
\renewcommand{\tableofcontents}{%
\chapter*{%
\vspace*{-20\p@}%
\begin{tikzpicture}[remember picture, overlay]%
\pgftext[right,x=15cm,y=0.2cm]{\color{doc!60}\Huge\sc\bfseries \contentsname};%
\draw[fill=doc!60,draw=doc!60] (13,-.75) rectangle (20,1);%
\clip (13,-.75) rectangle (20,1);
\pgftext[right,x=15cm,y=0.2cm]{\color{white}\Huge\sc\bfseries \contentsname};%
\end{tikzpicture}}%
\@starttoc{toc}}
\makeatother

View File

@ -0,0 +1,11 @@
---
work_space: "workspace"
subject: "subject"
tags: ["Note", "tag"]
---
<!-- TODO: Edit Parameters -->
# Topic
<!-- TODO: Begin notes here -->

View File

@ -0,0 +1,12 @@
---
project_name: "Project Name"
space: "Space Name"
tags: ["project", "tags"]
project_status: "Project Status"
---
<!-- TODO: Edit page parameters -->
# Project Name
<!-- TODO: Begin Project here -->

View File

@ -0,0 +1,10 @@
---
date: "Date"
tags: ["Todo", "Tags"]
---
<!-- TODO: Edit page parameters -->
# Date
<!-- TODO: Add Todos for this day here -->

View File

@ -0,0 +1,4 @@
next_page J
previous_page K
toggle_dark_mode d

View File

@ -1,6 +1,6 @@
#!/bin/bash
sketchybar --add item battery right \
--set battery update-freq=120 \
--set battery update_freq=120 \
script="$PLUGIN_DIR/battery.sh" \
--subscribe battery system_woke power_source_change

View File

@ -1,9 +0,0 @@
#!/bin/bash
sketchybar --add item front_app left \
--set front_app background.color=$ACCENT_COLOR \
icon.color=$BAR_COLOR \
icon.font="sketchybar-app-font:Regular:16.0" \
label.color=$BAR_COLOR \
script="$PLUGIN_DIR/front_app.sh" \
--subscribe front_app front_app_switched

View File

@ -1,23 +1,17 @@
#!/bin/bash
#!/bin/sh
SPACE_SIDS=(1 2 3 4 5 6 7 8 9 10)
sketchybar --add event aerospace_workspace_change
for sid in "${SPACE_SIDS[@]}"
SPACE_STRS=(    󰏆   󰐫 )
for str in "${SPACE_STRS[@]}"
do
sketchybar --add space space.$sid left \
--set space.$sid space=$sid \
icon=$sid \
sketchybar -m --add space $str left \
--subscribe $str aerospace_workspace_change \
--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"
label.y_offset=-1\
script="$PLUGIN_DIR/space.sh $str"
done
sketchybar --add item space_separator left \
--set space_separator icon"" \
icon.color=$ACCENT_COLOR \
icon.padding_left=4 \
label.drawing=off \
background.drawing=off \
script="$PLUGIN_DIR/space_windows.sh" \
--subscribe space_separator space_windows_change

Some files were not shown because too many files have changed in this diff Show More