aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-04-07 12:15:04 +0200
committerMateja <mail@matejamaric.com>2021-04-07 12:15:04 +0200
commit6f9f01061a2332460d02bb8071887d504d5f924c (patch)
tree98c47f8e15b43aa0b388c96fd1b5f9f40cd2fc0b
parente2c82c598867394b94fe5c96bd1cff93d447daa2 (diff)
downloadst-6f9f01061a2332460d02bb8071887d504d5f924c.tar.gz
st-6f9f01061a2332460d02bb8071887d504d5f924c.zip
Applied nordtheme patch.
-rw-r--r--README.md1
-rw-r--r--config.def.h44
2 files changed, 23 insertions, 22 deletions
diff --git a/README.md b/README.md
index ee7c6f0..24ee15c 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,7 @@
This is my fork of [st][stterm] terminal with following patches applied:
- bold is not bright
+- nordtheme
### Build requirements:
diff --git a/config.def.h b/config.def.h
index 6f05dce..f80d915 100644
--- a/config.def.h
+++ b/config.def.h
@@ -96,30 +96,30 @@ 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",
+ "#3b4252", /* black */
+ "#bf616a", /* red */
+ "#a3be8c", /* green */
+ "#ebcb8b", /* yellow */
+ "#81a1c1", /* blue */
+ "#b48ead", /* magenta */
+ "#88c0d0", /* cyan */
+ "#e5e9f0", /* white */
/* 8 bright colors */
- "gray50",
- "red",
- "green",
- "yellow",
- "#5c5cff",
- "magenta",
- "cyan",
- "white",
+ "#4c566a", /* black */
+ "#bf616a", /* red */
+ "#a3be8c", /* green */
+ "#ebcb8b", /* yellow */
+ "#81a1c1", /* blue */
+ "#b48ead", /* magenta */
+ "#8fbcbb", /* cyan */
+ "#eceff4", /* white */
[255] = 0,
/* more colors can be added after 255 to use with DefaultXX */
- "#cccccc",
- "#555555",
+ "#2e3440", /* background */
+ "#d8dee9", /* foreground */
};
@@ -127,10 +127,10 @@ static const char *colorname[] = {
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
-unsigned int defaultfg = 7;
-unsigned int defaultbg = 0;
-static unsigned int defaultcs = 256;
-static unsigned int defaultrcs = 257;
+unsigned int defaultfg = 257;
+unsigned int defaultbg = 256;
+static unsigned int defaultcs = 257;
+static unsigned int defaultrcs = 256;
/*
* Default shape of cursor