Created
June 29, 2018 15:12
-
-
Save AxelBohm/92260aa88d3de27c71841caa33877518 to your computer and use it in GitHub Desktop.
an suckless terminal patch for the dark gruvbox colorscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config.def.h b/config.def.h | |
index 4b4758d..d764a09 100644 | |
--- a/config.def.h | |
+++ b/config.def.h | |
@@ -84,27 +84,22 @@ 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, | |
+ "#282828", /* hard contrast: #1d2021 / soft contrast: #32302f */ | |
+ "#cc241d", | |
+ "#98971a", | |
+ "#d79921", | |
+ "#458588", | |
+ "#b16286", | |
+ "#689d6a", | |
+ "#a89984", | |
+ "#928374", | |
+ "#fb4934", | |
+ "#b8bb26", | |
+ "#fabd2f", | |
+ "#83a598", | |
+ "#d3869b", | |
+ "#8ec07c", | |
+ "#ebdbb2", | |
/* more colors can be added after 255 to use with DefaultXX */ | |
"#cccccc", | |
@@ -116,9 +111,9 @@ 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 defaultcs = 15; | |
static unsigned int defaultrcs = 257; | |
/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment