sites

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

commit 65f736d20558cd558d2d2b553c23553cdabca46e
parent f7a20e7c54e94927c31de3a5119c125b35a79713
Author: Paschalis Bizopoulos <pbizopoulos@protonmail.com>
Date:   Sun, 23 Jan 2022 21:15:37 +0200

[st][solarized] port light version to 0.8.5

Diffstat:
Mst.suckless.org/patches/solarized/index.md | 2+-
Ast.suckless.org/patches/solarized/st-solarized-light-20220123-2c5edf2.diff | 63+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+), 1 deletion(-)

diff --git a/st.suckless.org/patches/solarized/index.md b/st.suckless.org/patches/solarized/index.md @@ -42,6 +42,7 @@ or the dark color scheme: * [st-solarized-light-0.7.diff](st-solarized-light-0.7.diff) * [st-solarized-light-20170623-b331da5.diff](st-solarized-light-20170623-b331da5.diff) * [st-solarized-light-20190306-ed68fe7.diff](st-solarized-light-20190306-ed68fe7.diff) +* [st-solarized-light-20220123-2c5edf2.diff](st-solarized-light-20220123-2c5edf2.diff) *Dark*: @@ -69,5 +70,4 @@ Authors * Matthew Parnell - <matt@parnmatt.co.uk> (0.7 port) * Linh Nguyen - <linhvng.2212@gmail.com> (0.8.1 port for no\_bold\_colors and swap versions) * Varun Iyer - <vi.mail@protonmail.ch> (20190129 port for swap version) -* Paschalis Bizopoulos (20190306 port for light version) * Joachim Büchel - <jo@audijo.de> (0.8.3 port for swap version) diff --git a/st.suckless.org/patches/solarized/st-solarized-light-20220123-2c5edf2.diff b/st.suckless.org/patches/solarized/st-solarized-light-20220123-2c5edf2.diff @@ -0,0 +1,63 @@ +diff --git a/config.def.h b/config.def.h +index 91ab8ca..6943f7c 100644 +--- a/config.def.h ++++ b/config.def.h +@@ -95,26 +95,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", +- ++ /* solarized light */ ++ "#eee8d5", /* 0: black */ ++ "#dc322f", /* 1: red */ ++ "#859900", /* 2: green */ ++ "#b58900", /* 3: yellow */ ++ "#268bd2", /* 4: blue */ ++ "#d33682", /* 5: magenta */ ++ "#2aa198", /* 6: cyan */ ++ "#073642", /* 7: white */ ++ "#fdf6e3", /* 8: brblack */ ++ "#cb4b16", /* 9: brred */ ++ "#93a1a1", /* 10: brgreen */ ++ "#839496", /* 11: bryellow */ ++ "#657b83", /* 12: brblue */ ++ "#6c71c4", /* 13: brmagenta*/ ++ "#586e75", /* 14: brcyan */ ++ "#002b36", /* 15: brwhite */ + [255] = 0, + + /* more colors can be added after 255 to use with DefaultXX */ +@@ -129,10 +126,10 @@ static const char *colorname[] = { + * Default colors (colorname index) + * foreground, background, cursor, reverse cursor + */ +-unsigned int defaultfg = 258; +-unsigned int defaultbg = 259; +-unsigned int defaultcs = 256; +-static unsigned int defaultrcs = 257; ++unsigned int defaultfg = 12; ++unsigned int defaultbg = 8; ++unsigned int defaultcs = 14; ++static unsigned int defaultrcs = 15; + + /* + * Default shape of cursor