From 70f6452bddd5798ec5b7941b5c470ae0d5c389d2 Mon Sep 17 00:00:00 2001 From: co1ncidence Date: Thu, 17 Sep 2020 21:00:18 -0500 Subject: docs:update --- bliss.itermcolors | 344 ----------------------------- iterm2/bliss.itermcolors | 344 +++++++++++++++++++++++++++++ terminals/alacritty/alacritty.yml | 27 +++ terminals/gnome-terminal/bliss.sh | 123 +++++++++++ terminals/konsole/bliss.colorscheme | 72 ++++++ terminals/st/config.h | 27 +++ terminals/termite/bliss | 40 ++++ terminals/xfce4-terminal/bliss.colorscheme | 6 + 8 files changed, 639 insertions(+), 344 deletions(-) delete mode 100644 bliss.itermcolors create mode 100644 iterm2/bliss.itermcolors create mode 100644 terminals/alacritty/alacritty.yml create mode 100644 terminals/gnome-terminal/bliss.sh create mode 100644 terminals/konsole/bliss.colorscheme create mode 100644 terminals/st/config.h create mode 100644 terminals/termite/bliss create mode 100644 terminals/xfce4-terminal/bliss.colorscheme diff --git a/bliss.itermcolors b/bliss.itermcolors deleted file mode 100644 index 23d8382..0000000 --- a/bliss.itermcolors +++ /dev/null @@ -1,344 +0,0 @@ - - - - - Ansi 0 Color - - Alpha Component - 1 - Blue Component - 0.15294118225574493 - Color Space - sRGB - Green Component - 0.15294118225574493 - Red Component - 0.14901961386203766 - - Ansi 1 Color - - Alpha Component - 1 - Blue Component - 0.67450982332229614 - Color Space - sRGB - Green Component - 0.61568629741668701 - Red Component - 0.87058824300765991 - - Ansi 10 Color - - Alpha Component - 1 - Blue Component - 0.81568628549575806 - Color Space - sRGB - Green Component - 0.87058824300765991 - Red Component - 0.61568629741668701 - - Ansi 11 Color - - Alpha Component - 1 - Blue Component - 0.61568629741668701 - Color Space - sRGB - Green Component - 0.81568628549575806 - Red Component - 0.87058824300765991 - - Ansi 12 Color - - Alpha Component - 1 - Blue Component - 0.87058824300765991 - Color Space - sRGB - Green Component - 0.61568629741668701 - Red Component - 0.68627452850341797 - - Ansi 13 Color - - Alpha Component - 1 - Blue Component - 0.87058824300765991 - Color Space - sRGB - Green Component - 0.61568629741668701 - Red Component - 0.81568628549575806 - - Ansi 14 Color - - Alpha Component - 1 - Blue Component - 0.87058824300765991 - Color Space - sRGB - Green Component - 0.80000001192092896 - Red Component - 0.61568629741668701 - - Ansi 15 Color - - Alpha Component - 1 - Blue Component - 0.78823530673980713 - Color Space - sRGB - Green Component - 0.82745099067687988 - Red Component - 0.94117647409439087 - - Ansi 2 Color - - Alpha Component - 1 - Blue Component - 0.68627452850341797 - Color Space - sRGB - Green Component - 0.87058824300765991 - Red Component - 0.61568629741668701 - - Ansi 3 Color - - Alpha Component - 1 - Blue Component - 0.61568629741668701 - Color Space - sRGB - Green Component - 0.81568628549575806 - Red Component - 0.87058824300765991 - - Ansi 4 Color - - Alpha Component - 1 - Blue Component - 0.87058824300765991 - Color Space - sRGB - Green Component - 0.67450982332229614 - Red Component - 0.61568629741668701 - - Ansi 5 Color - - Alpha Component - 1 - Blue Component - 0.87058824300765991 - Color Space - sRGB - Green Component - 0.61568629741668701 - Red Component - 0.68627452850341797 - - Ansi 6 Color - - Alpha Component - 1 - Blue Component - 0.87058824300765991 - Color Space - sRGB - Green Component - 0.80000001192092896 - Red Component - 0.61568629741668701 - - Ansi 7 Color - - Alpha Component - 1 - Blue Component - 0.27058824896812439 - Color Space - sRGB - Green Component - 0.27058824896812439 - Red Component - 0.26274511218070984 - - Ansi 8 Color - - Alpha Component - 1 - Blue Component - 0.17254902422428131 - Color Space - sRGB - Green Component - 0.20000000298023224 - Red Component - 0.23137255012989044 - - Ansi 9 Color - - Alpha Component - 1 - Blue Component - 0.61568629741668701 - Color Space - sRGB - Green Component - 0.68627452850341797 - Red Component - 0.87058824300765991 - - Background Color - - Alpha Component - 1 - Blue Component - 0.11372549086809158 - Color Space - sRGB - Green Component - 0.10588235408067703 - Red Component - 0.10980392247438431 - - Badge Color - - Alpha Component - 0.5 - Blue Component - 0.0 - Color Space - sRGB - Green Component - 0.1491314172744751 - Red Component - 1 - - Bold Color - - Alpha Component - 1 - Blue Component - 0.80784302949905396 - Color Space - sRGB - Green Component - 0.77254897356033325 - Red Component - 0.75294119119644165 - - Cursor Color - - Alpha Component - 1 - Blue Component - 0.80784302949905396 - Color Space - sRGB - Green Component - 0.77254897356033325 - Red Component - 0.75294119119644165 - - Cursor Guide Color - - Alpha Component - 0.25 - Blue Component - 1 - Color Space - sRGB - Green Component - 0.9268307089805603 - Red Component - 0.70213186740875244 - - Cursor Text Color - - Alpha Component - 1 - Blue Component - 0.17254900932312012 - Color Space - sRGB - Green Component - 0.14509806036949158 - Red Component - 0.090196065604686737 - - Foreground Color - - Alpha Component - 1 - Blue Component - 0.78823530673980713 - Color Space - sRGB - Green Component - 0.82745099067687988 - Red Component - 0.94117647409439087 - - Link Color - - Alpha Component - 1 - Blue Component - 0.73423302173614502 - Color Space - sRGB - Green Component - 0.35916060209274292 - Red Component - 0.0 - - Selected Text Color - - Alpha Component - 1 - Blue Component - 0.80784302949905396 - Color Space - sRGB - Green Component - 0.77254897356033325 - Red Component - 0.75294119119644165 - - Selection Color - - Alpha Component - 1 - Blue Component - 0.39999988675117493 - Color Space - sRGB - Green Component - 0.35686272382736206 - Red Component - 0.30980390310287476 - - - diff --git a/iterm2/bliss.itermcolors b/iterm2/bliss.itermcolors new file mode 100644 index 0000000..23d8382 --- /dev/null +++ b/iterm2/bliss.itermcolors @@ -0,0 +1,344 @@ + + + + + Ansi 0 Color + + Alpha Component + 1 + Blue Component + 0.15294118225574493 + Color Space + sRGB + Green Component + 0.15294118225574493 + Red Component + 0.14901961386203766 + + Ansi 1 Color + + Alpha Component + 1 + Blue Component + 0.67450982332229614 + Color Space + sRGB + Green Component + 0.61568629741668701 + Red Component + 0.87058824300765991 + + Ansi 10 Color + + Alpha Component + 1 + Blue Component + 0.81568628549575806 + Color Space + sRGB + Green Component + 0.87058824300765991 + Red Component + 0.61568629741668701 + + Ansi 11 Color + + Alpha Component + 1 + Blue Component + 0.61568629741668701 + Color Space + sRGB + Green Component + 0.81568628549575806 + Red Component + 0.87058824300765991 + + Ansi 12 Color + + Alpha Component + 1 + Blue Component + 0.87058824300765991 + Color Space + sRGB + Green Component + 0.61568629741668701 + Red Component + 0.68627452850341797 + + Ansi 13 Color + + Alpha Component + 1 + Blue Component + 0.87058824300765991 + Color Space + sRGB + Green Component + 0.61568629741668701 + Red Component + 0.81568628549575806 + + Ansi 14 Color + + Alpha Component + 1 + Blue Component + 0.87058824300765991 + Color Space + sRGB + Green Component + 0.80000001192092896 + Red Component + 0.61568629741668701 + + Ansi 15 Color + + Alpha Component + 1 + Blue Component + 0.78823530673980713 + Color Space + sRGB + Green Component + 0.82745099067687988 + Red Component + 0.94117647409439087 + + Ansi 2 Color + + Alpha Component + 1 + Blue Component + 0.68627452850341797 + Color Space + sRGB + Green Component + 0.87058824300765991 + Red Component + 0.61568629741668701 + + Ansi 3 Color + + Alpha Component + 1 + Blue Component + 0.61568629741668701 + Color Space + sRGB + Green Component + 0.81568628549575806 + Red Component + 0.87058824300765991 + + Ansi 4 Color + + Alpha Component + 1 + Blue Component + 0.87058824300765991 + Color Space + sRGB + Green Component + 0.67450982332229614 + Red Component + 0.61568629741668701 + + Ansi 5 Color + + Alpha Component + 1 + Blue Component + 0.87058824300765991 + Color Space + sRGB + Green Component + 0.61568629741668701 + Red Component + 0.68627452850341797 + + Ansi 6 Color + + Alpha Component + 1 + Blue Component + 0.87058824300765991 + Color Space + sRGB + Green Component + 0.80000001192092896 + Red Component + 0.61568629741668701 + + Ansi 7 Color + + Alpha Component + 1 + Blue Component + 0.27058824896812439 + Color Space + sRGB + Green Component + 0.27058824896812439 + Red Component + 0.26274511218070984 + + Ansi 8 Color + + Alpha Component + 1 + Blue Component + 0.17254902422428131 + Color Space + sRGB + Green Component + 0.20000000298023224 + Red Component + 0.23137255012989044 + + Ansi 9 Color + + Alpha Component + 1 + Blue Component + 0.61568629741668701 + Color Space + sRGB + Green Component + 0.68627452850341797 + Red Component + 0.87058824300765991 + + Background Color + + Alpha Component + 1 + Blue Component + 0.11372549086809158 + Color Space + sRGB + Green Component + 0.10588235408067703 + Red Component + 0.10980392247438431 + + Badge Color + + Alpha Component + 0.5 + Blue Component + 0.0 + Color Space + sRGB + Green Component + 0.1491314172744751 + Red Component + 1 + + Bold Color + + Alpha Component + 1 + Blue Component + 0.80784302949905396 + Color Space + sRGB + Green Component + 0.77254897356033325 + Red Component + 0.75294119119644165 + + Cursor Color + + Alpha Component + 1 + Blue Component + 0.80784302949905396 + Color Space + sRGB + Green Component + 0.77254897356033325 + Red Component + 0.75294119119644165 + + Cursor Guide Color + + Alpha Component + 0.25 + Blue Component + 1 + Color Space + sRGB + Green Component + 0.9268307089805603 + Red Component + 0.70213186740875244 + + Cursor Text Color + + Alpha Component + 1 + Blue Component + 0.17254900932312012 + Color Space + sRGB + Green Component + 0.14509806036949158 + Red Component + 0.090196065604686737 + + Foreground Color + + Alpha Component + 1 + Blue Component + 0.78823530673980713 + Color Space + sRGB + Green Component + 0.82745099067687988 + Red Component + 0.94117647409439087 + + Link Color + + Alpha Component + 1 + Blue Component + 0.73423302173614502 + Color Space + sRGB + Green Component + 0.35916060209274292 + Red Component + 0.0 + + Selected Text Color + + Alpha Component + 1 + Blue Component + 0.80784302949905396 + Color Space + sRGB + Green Component + 0.77254897356033325 + Red Component + 0.75294119119644165 + + Selection Color + + Alpha Component + 1 + Blue Component + 0.39999988675117493 + Color Space + sRGB + Green Component + 0.35686272382736206 + Red Component + 0.30980390310287476 + + + diff --git a/terminals/alacritty/alacritty.yml b/terminals/alacritty/alacritty.yml new file mode 100644 index 0000000..bc3fdc1 --- /dev/null +++ b/terminals/alacritty/alacritty.yml @@ -0,0 +1,27 @@ +colors: + # Default colors + primary: + background: '0x121213' + foreground: '0xfdf9f7' + + # Normal colors + normal: + black: '0x1c1b1d' + red: '0xde9dac' + green: '0x9ddeaf' + yellow: '0xdedd9d' + blue: '0x9dacde' + magenta: '0xaf9dde' + cyan: '0x9dccde' + white: '0xf4e0d8' + + # Bright colors + bright: + black: '0x262427' + red: '0xf7afc0' + green: '0xaff7c3' + yellow: '0xf7f6af' + blue: '0xafc0f7' + magenta: '0xc3aff7' + cyan: '0xafe3f7' + white: '0xf9ece8' diff --git a/terminals/gnome-terminal/bliss.sh b/terminals/gnome-terminal/bliss.sh new file mode 100644 index 0000000..31fb6fe --- /dev/null +++ b/terminals/gnome-terminal/bliss.sh @@ -0,0 +1,123 @@ +#!/usr/bin/env bash +# Base16 - Gnome Terminal color scheme install script + +[[ -z "$PROFILE_NAME" ]] && PROFILE_NAME="terminal.sexy" +[[ -z "$PROFILE_SLUG" ]] && PROFILE_SLUG="terminal-dot-sexy" +[[ -z "$DCONF" ]] && DCONF=dconf +[[ -z "$UUIDGEN" ]] && UUIDGEN=uuidgen + +dset() { + local key="$1"; shift + local val="$1"; shift + + if [[ "$type" == "string" ]]; then + val="'$val'" + fi + + "$DCONF" write "$PROFILE_KEY/$key" "$val" +} + +# because dconf still doesn't have "append" +dlist_append() { + local key="$1"; shift + local val="$1"; shift + + local entries="$( + { + "$DCONF" read "$key" | tr -d '[]' | tr , "\n" | fgrep -v "$val" + echo "'$val'" + } | head -c-1 | tr "\n" , + )" + + "$DCONF" write "$key" "[$entries]" +} + +# Newest versions of gnome-terminal use dconf +if which "$DCONF" > /dev/null 2>&1; then + [[ -z "$BASE_KEY_NEW" ]] && BASE_KEY_NEW=/org/gnome/terminal/legacy/profiles: + + if [[ -n "`$DCONF list $BASE_KEY_NEW/`" ]]; then + if which "$UUIDGEN" > /dev/null 2>&1; then + PROFILE_SLUG=`uuidgen` + fi + + if [[ -n "`$DCONF read $BASE_KEY_NEW/default`" ]]; then + DEFAULT_SLUG=`$DCONF read $BASE_KEY_NEW/default | tr -d \'` + else + DEFAULT_SLUG=`$DCONF list $BASE_KEY_NEW/ | grep '^:' | head -n1 | tr -d :/` + fi + + DEFAULT_KEY="$BASE_KEY_NEW/:$DEFAULT_SLUG" + PROFILE_KEY="$BASE_KEY_NEW/:$PROFILE_SLUG" + + # copy existing settings from default profile + $DCONF dump "$DEFAULT_KEY/" | $DCONF load "$PROFILE_KEY/" + + # add new copy to list of profiles + dlist_append $BASE_KEY_NEW/list "$PROFILE_SLUG" + + # update profile values with theme options + dset visible-name "'$PROFILE_NAME'" + dset palette "['#1c1b1d', '#de9dac', '#9ddeaf', '#dedd9d', '#9dacde', '#af9dde', '#9dccde', '#f4e0d8', '#262427', '#f7afc0', '#aff7c3', '#f7f6af', '#afc0f7', '#c3aff7', '#afe3f7', '#f9ece8']" + dset background-color "'#121213'" + dset foreground-color "'#fdf9f7'" + dset bold-color "'#fdf9f7'" + dset bold-color-same-as-fg "true" + dset use-theme-colors "false" + dset use-theme-background "false" + + unset PROFILE_NAME + unset PROFILE_SLUG + unset DCONF + unset UUIDGEN + exit 0 + fi +fi + +# Fallback for Gnome 2 and early Gnome 3 +[[ -z "$GCONFTOOL" ]] && GCONFTOOL=gconftool +[[ -z "$BASE_KEY" ]] && BASE_KEY=/apps/gnome-terminal/profiles + +PROFILE_KEY="$BASE_KEY/$PROFILE_SLUG" + +gset() { + local type="$1"; shift + local key="$1"; shift + local val="$1"; shift + + "$GCONFTOOL" --set --type "$type" "$PROFILE_KEY/$key" -- "$val" +} + +# Because gconftool doesn't have "append" +glist_append() { + local type="$1"; shift + local key="$1"; shift + local val="$1"; shift + + local entries="$( + { + "$GCONFTOOL" --get "$key" | tr -d '[]' | tr , "\n" | fgrep -v "$val" + echo "$val" + } | head -c-1 | tr "\n" , + )" + + "$GCONFTOOL" --set --type list --list-type $type "$key" "[$entries]" +} + +# Append the Base16 profile to the profile list +glist_append string /apps/gnome-terminal/global/profile_list "$PROFILE_SLUG" + +gset string visible_name "$PROFILE_NAME" +gset string palette "#1c1b1d:#de9dac:#9ddeaf:#dedd9d:#9dacde:#af9dde:#9dccde:#f4e0d8:#262427:#f7afc0:#aff7c3:#f7f6af:#afc0f7:#c3aff7:#afe3f7:#f9ece8" +gset string background_color "#121213" +gset string foreground_color "#fdf9f7" +gset string bold_color "#fdf9f7" +gset bool bold_color_same_as_fg "true" +gset bool use_theme_colors "false" +gset bool use_theme_background "false" + +unset PROFILE_NAME +unset PROFILE_SLUG +unset DCONF +unset UUIDGEN + diff --git a/terminals/konsole/bliss.colorscheme b/terminals/konsole/bliss.colorscheme new file mode 100644 index 0000000..3545abc --- /dev/null +++ b/terminals/konsole/bliss.colorscheme @@ -0,0 +1,72 @@ +# --- special colors --- + +[Background] +Color=18,18,19 + +[BackgroundIntense] +Color=18,18,19 + +[Foreground] +Color=253,249,247 + +[ForegroundIntense] +Color=253,249,247 +Bold=true + +# --- standard colors --- + +[Color0] +Color=28,27,29 + +[Color0Intense] +Color=38,36,39 + +[Color1] +Color=222,157,172 + +[Color1Intense] +Color=247,175,192 + +[Color2] +Color=157,222,175 + +[Color2Intense] +Color=175,247,195 + +[Color3] +Color=222,221,157 + +[Color3Intense] +Color=247,246,175 + +[Color4] +Color=157,172,222 + +[Color4Intense] +Color=175,192,247 + +[Color5] +Color=175,157,222 + +[Color5Intense] +Color=195,175,247 + +[Color6] +Color=157,204,222 + +[Color6Intense] +Color=175,227,247 + +[Color7] +Color=244,224,216 + +[Color7Intense] +Color=249,236,232 + +# --- general options --- + +[General] +Description=terminal.sexy +Opacity=1 +Wallpaper= + diff --git a/terminals/st/config.h b/terminals/st/config.h new file mode 100644 index 0000000..4741c64 --- /dev/null +++ b/terminals/st/config.h @@ -0,0 +1,27 @@ +/* Terminal colors (16 first used in escape sequence) */ +static const char *colorname[] = { + + /* 8 normal colors */ + [0] = "#1c1b1d", /* black */ + [1] = "#de9dac", /* red */ + [2] = "#9ddeaf", /* green */ + [3] = "#dedd9d", /* yellow */ + [4] = "#9dacde", /* blue */ + [5] = "#af9dde", /* purple */ + [6] = "#9dccde", /* cyan */ + [7] = "#f4e0d8", /* white */ + + /* 8 bright colors*/ + [8] = "#262427", /* black */ + [9] = "#f7afc0", /* red */ + [10] = "#aff7c3", /* green */ + [11] = "#f7f6af", /* yellow */ + [12] = "#afc0f7", /* blue */ + [13] = "#c3aff7", /* purple */ + [14] = "#afe3f7", /* cyan */ + [15] = "#f9ece8", /* white */ + + /* special colors */ + [256] = "#121213", /* background */ + [257] = "#fdf9f7", /* foreground */ +}; diff --git a/terminals/termite/bliss b/terminals/termite/bliss new file mode 100644 index 0000000..ab4a38e --- /dev/null +++ b/terminals/termite/bliss @@ -0,0 +1,40 @@ +[colors] + +# special +foreground = #fdf9f7 +foreground_bold = #fdf9f7 +cursor = #fdf9f7 +background = #121213 + +# black +color0 = #1c1b1d +color8 = #262427 + +# red +color1 = #de9dac +color9 = #f7afc0 + +# green +color2 = #9ddeaf +color10 = #aff7c3 + +# yellow +color3 = #dedd9d +color11 = #f7f6af + +# blue +color4 = #9dacde +color12 = #afc0f7 + +# magenta +color5 = #af9dde +color13 = #c3aff7 + +# cyan +color6 = #9dccde +color14 = #afe3f7 + +# white +color7 = #f4e0d8 +color15 = #f9ece8 + diff --git a/terminals/xfce4-terminal/bliss.colorscheme b/terminals/xfce4-terminal/bliss.colorscheme new file mode 100644 index 0000000..642bd64 --- /dev/null +++ b/terminals/xfce4-terminal/bliss.colorscheme @@ -0,0 +1,6 @@ +[Configuration] +ColorCursor=#fdfdf9f9f7f7 +ColorForeground=#fdfdf9f9f7f7 +ColorBackground=#121212121313 +ColorPalette=#1c1c1b1b1d1d;#dede9d9dacac;#9d9ddedeafaf;#dededddd9d9d;#9d9dacacdede;#afaf9d9ddede;#9d9dccccdede;#f4f4e0e0d8d8;#262624242727;#f7f7afafc0c0;#afaff7f7c3c3;#f7f7f6f6afaf;#afafc0c0f7f7;#c3c3afaff7f7;#afafe3e3f7f7;#f9f9ecece8e8 + -- cgit v1.2.3