vibrant-night

A colorscheme for all my things!
git clone git://depsterr.com/git/vibrant-night
Log | Files | Refs | README | LICENSE

commit 59a44a0c7cd1e51f296f763701df2117afa1169b
parent 9b002cc9818a7b0394c2bf81feb22a6c10565ac6
Author: depsterr <depsterr@protonmail.com>
Date:   Wed, 24 Jun 2020 23:03:15 +0200

added shell colors, tmux colors, dwm colors and dmenu colors

Diffstat:
MREADME.md | 10++++++----
Mcolors.h | 27+++++++++++++++++++++++++++
Acolors.sh | 27+++++++++++++++++++++++++++
Acolors.tmux | 5+++++
4 files changed, 65 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -8,11 +8,13 @@ This is a simple colorscheme that I've designed for myself and will implement fo I am going to implement this theme for the following: - * st - * dwm - * tmux + * st - colors.h + * dwm - colors.h + * dmenu - colors.h + * tmux - colors.tmux * vim - * $PS1 + * $PS1 - colors.sh + * tty - colors.sh Once these are finished I might create simple implementations for the following: diff --git a/colors.h b/colors.h @@ -1,3 +1,4 @@ +/* st colours */ static const char *colorname[] = { /* 8 normal colors */ "#2E2E2E", /* black */ @@ -22,3 +23,29 @@ static const char *colorname[] = { [255] = 0, }; + +/* dwm colors */ +static const char col_gray1[] = "#2E2E2E"; +static const char col_gray2[] = "#3B3B3B"; +static const char col_pink1[] = "#E88BE0"; +static const char col_pink2[] = "#EDBBE9"; +static const char col_white[] = "#E9E9E9"; +static const char *colors[][3] = { + /* fg bg border */ + [SchemeNorm] = { col_pink2, col_gray1, col_gray1 }, + [SchemeSel] = { col_pink1, col_gray2, col_gray2 }, + [SchemeHid] = { col_pink1, col_white, col_white }, +}; + +/* dmenu */ +static const char col_gray1[] = "#2E2E2E"; +static const char col_gray2[] = "#3B3B3B"; +static const char col_pink1[] = "#E88BE0"; +static const char col_pink2[] = "#EDBBE9"; +static const char col_white[] = "#E9E9E9"; +static const char *colors[SchemeLast][2] = { + /* fg bg */ + [SchemeNorm] = { col_pink2, col_gray1 }, + [SchemeSel] = { col_pink1, col_gray2 }, + [SchemeOut] = { col_gray2, col_white }, +}; diff --git a/colors.sh b/colors.sh @@ -0,0 +1,27 @@ +# This one works everywhere I've tried (ash, ksh, mksh) +PS1='${USER}@$(hostname):${PWD} +$ ' + +# This one works on some shells, but is prettier (works on ash, OpenBSD ksh) +PS1='\033[35m\u\033[0m@\033[35m\h\033[0m:\033[36m\w\033[0m\n\$ ' + +# If you wish to customize the tty colours then use this +if [ "$TERM" = "linux" ]; then + echo -en "\e]P02E2E2E" + echo -en "\e]P1F7748D" + echo -en "\e]P276EDA3" + echo -en "\e]P3F7BF65" + echo -en "\e]P44DA4F0" + echo -en "\e]P5E88BE0" + echo -en "\e]P61DDBC9" + echo -en "\e]P7E9E9E9" + echo -en "\e]P83B3B3B" + echo -en "\e]P9FF9CAA" + echo -en "\e]PAA4EDAC" + echo -en "\e]PBF7E2A1" + echo -en "\e]PCB7C8FF" + echo -en "\e]PDEDBBE9" + echo -en "\e]PE81F5E1" + echo -en "\e]PFF5F5F5" + clear #for background artifacting +fi diff --git a/colors.tmux b/colors.tmux @@ -0,0 +1,5 @@ +# Theme +set -g status-bg colour8 +set -g status-fg colour5 +set -g pane-border-style fg=colour8 +set -g pane-active-border-style fg=colour5