dotfiles

My configuration files
git clone git://git.finwo.net/misc/dotfiles
Log | Files | Refs

commit defb7a7fdf9981716ac81c2db5b55c0e88bb700e
parent bf60812e0ccdd1679af27b15e6fc4ae83b19ab70
Author: finwo <finwo@pm.me>
Date:   Thu, 23 May 2019 13:55:59 +0200

Forgot to set default color in st

Diffstat:
Dst/root/etc/portage/patches/x11-terms/st/00-gruvbox-colors.diff | 45---------------------------------------------
Ast/root/etc/portage/patches/x11-terms/st/00-gruvbox-theme.diff | 67+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+), 45 deletions(-)

diff --git a/st/root/etc/portage/patches/x11-terms/st/00-gruvbox-colors.diff b/st/root/etc/portage/patches/x11-terms/st/00-gruvbox-colors.diff @@ -1,45 +0,0 @@ -diff --git a/config.def.h b/config.def.h -index 482901e..3a6a81a 100644 ---- a/config.def.h -+++ b/config.def.h -@@ -85,24 +85,24 @@ unsigned int tabspaces = 8; - /* Terminal colors (16 first used in escape sequence) */ - static const char *colorname[] = { - /* 8 normal colors */ -- "black", -- "red3", -- "green3", -- "yellow3", -- "blue2", -- "magenta3", -- "cyan3", -- "gray90", -+ "#282828", /* black */ -+ "#cc241d", /* red */ -+ "#98971a", /* green */ -+ "#d79921", /* amber */ -+ "#458588", /* blue */ -+ "#b16286", /* purple */ -+ "#689d6a", /* aqua */ -+ "#a89984", /* gray */ - - /* 8 bright colors */ -- "gray50", -- "red", -- "green", -- "yellow", -- "#5c5cff", -- "magenta", -- "cyan", -- "white", -+ "#928374", /* gray */ -+ "#fb4934", /* red */ -+ "#b8bb26", /* green */ -+ "#fabd2f", /* yellow */ -+ "#83a598", /* blue */ -+ "#d3869b", /* purple */ -+ "#8ec07c", /* aqua */ -+ "#ebdbb2", /* white */ - - [255] = 0, - diff --git a/st/root/etc/portage/patches/x11-terms/st/00-gruvbox-theme.diff b/st/root/etc/portage/patches/x11-terms/st/00-gruvbox-theme.diff @@ -0,0 +1,67 @@ +diff --git a/config.def.h b/config.def.h +index 482901e..bc1a962 100644 +--- a/config.def.h ++++ b/config.def.h +@@ -84,31 +84,23 @@ unsigned int tabspaces = 8; + + /* Terminal colors (16 first used in escape sequence) */ + static const char *colorname[] = { +- /* 8 normal colors */ +- "black", +- "red3", +- "green3", +- "yellow3", +- "blue2", +- "magenta3", +- "cyan3", +- "gray90", +- +- /* 8 bright colors */ +- "gray50", +- "red", +- "green", +- "yellow", +- "#5c5cff", +- "magenta", +- "cyan", +- "white", +- +- [255] = 0, +- +- /* more colors can be added after 255 to use with DefaultXX */ +- "#cccccc", +- "#555555", ++ "#282828", ++ "#cc241d", ++ "#98971a", ++ "#d79921", ++ "#458588", ++ "#b16286", ++ "#689d6a", ++ "#a89984", ++ ++ "#928374", ++ "#fb4934", ++ "#b8bb26", ++ "#fabd2f", ++ "#83a598", ++ "#d3869b", ++ "#8ec07c", ++ "#ebdbb2", + }; + + +@@ -116,10 +108,10 @@ static const char *colorname[] = { + * Default colors (colorname index) + * foreground, background, cursor, reverse cursor + */ +-unsigned int defaultfg = 7; ++unsigned int defaultfg = 15; + unsigned int defaultbg = 0; +-static unsigned int defaultcs = 256; +-static unsigned int defaultrcs = 257; ++static unsigned int defaultcs = 15; ++static unsigned int defaultrcs = 15; + + /* + * Default shape of cursor