sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 59df2f35a3e647801c418cb76f7410213396fc40
parent 53a5f12f8de5ce4a0dff38219258499894fb922a
Author: Alessandro Caputo <nonedisponibile@gmail.com>
Date:   Wed, 11 Apr 2018 15:56:43 +0200

[st] update solarized-dark patch

Diffstat:
st.suckless.org/patches/solarized/index.md | 1+
st.suckless.org/patches/solarized/st-solarized-dark-20180411-041912a.diff | 68++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+), 0 deletions(-)

diff --git a/st.suckless.org/patches/solarized/index.md b/st.suckless.org/patches/solarized/index.md @@ -54,6 +54,7 @@ or the dark color scheme: * [st-solarized-dark-0.6.diff](st-solarized-dark-0.6.diff) * [st-solarized-dark-0.7.diff](st-solarized-dark-0.7.diff) * [st-solarized-dark-20170623-b331da5.diff](st-solarized-dark-20170623-b331da5.diff) + * [st-solarized-dark-20180411-041912a.diff](st-solarized-dark-20180411-041912a.diff) *Both (swap between light/dark with F6)*: diff --git a/st.suckless.org/patches/solarized/st-solarized-dark-20180411-041912a.diff b/st.suckless.org/patches/solarized/st-solarized-dark-20180411-041912a.diff @@ -0,0 +1,68 @@ +diff --git a/config.def.h b/config.def.h +index 82b1b09..6065bb6 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", ++ /* solarized dark */ ++ "#073642", /* 0: black */ ++ "#dc322f", /* 1: red */ ++ "#859900", /* 2: green */ ++ "#b58900", /* 3: yellow */ ++ "#268bd2", /* 4: blue */ ++ "#d33682", /* 5: magenta */ ++ "#2aa198", /* 6: cyan */ ++ "#eee8d5", /* 7: white */ ++ "#002b36", /* 8: brblack */ ++ "#cb4b16", /* 9: brred */ ++ "#586e75", /* 10: brgreen */ ++ "#657b83", /* 11: bryellow */ ++ "#839496", /* 12: brblue */ ++ "#6c71c4", /* 13: brmagenta*/ ++ "#93a1a1", /* 14: brcyan */ ++ "#fdf6e3", /* 15: brwhite */ + }; + + +@@ -116,10 +108,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 = 12; ++unsigned int defaultbg = 8; ++static unsigned int defaultcs = 14; ++static unsigned int defaultrcs = 15; + + /* + * Default shape of cursor