sites

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

commit 58660d1c988bd37ef212a8109aaa3ddcb98788fe
parent 452704f7bebb36d79ed1459f0cce374237f97cb8
Author: cybvik <mail@cybvik.xyz>
Date:   Sun,  3 Jul 2022 04:45:34 +0200

Added cyberpunk-neon colorscheme patch for st

Diffstat:
Ast.suckless.org/patches/cyberpunk-neon/index.md | 15+++++++++++++++
Ast.suckless.org/patches/cyberpunk-neon/st-cyberpunk-neon-20220703-baa9357.diff | 84+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 99 insertions(+), 0 deletions(-)

diff --git a/st.suckless.org/patches/cyberpunk-neon/index.md b/st.suckless.org/patches/cyberpunk-neon/index.md @@ -0,0 +1,15 @@ +Cyberpunk-Neon +============== + +Description +----------- +[Cyberpunk-Neon](https://github.com/roboron3042/cyberpunk-neon) is a color +scheme made by Roboron3042. This patch applies this colorscheme to st. + +Download +-------- +* [st-cyberpunk-neon-20220703-baa9357.diff](st-cyberpunk-neon-20220703-baa9357.diff) + +Author +------ +* cybvik - <mail@cybvik.xyz> diff --git a/st.suckless.org/patches/cyberpunk-neon/st-cyberpunk-neon-20220703-baa9357.diff b/st.suckless.org/patches/cyberpunk-neon/st-cyberpunk-neon-20220703-baa9357.diff @@ -0,0 +1,84 @@ +From 04919f591bc1eb7a60cf330907171c230d7ac17b Mon Sep 17 00:00:00 2001 +From: cybvik <mail@cybvik.xyz> +Date: Sun, 3 Jul 2022 04:28:11 +0200 +Subject: [PATCH] Applied Cyberpunk-Neon colorscheme + +--- + config.def.h | 49 ++++++++++++++++++++++++------------------------- + 1 file changed, 24 insertions(+), 25 deletions(-) + +diff --git a/config.def.h b/config.def.h +index 91ab8ca..20b92ae 100644 +--- a/config.def.h ++++ b/config.def.h +@@ -96,43 +96,42 @@ 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", ++ [0] = "#123e7c", ++ [1] = "#ff0000", ++ [2] = "#d300c4", ++ [3] = "#f57800", ++ [4] = "#123e7c", ++ [5] = "#711c91", ++ [6] = "#0abdc6", ++ [7] = "#d7d7d5", + + /* 8 bright colors */ +- "gray50", +- "red", +- "green", +- "yellow", +- "#5c5cff", +- "magenta", +- "cyan", +- "white", ++ [8] = "#1c61c2", ++ [9] = "#ff0000", ++ [10] = "#d300c4", ++ [11] = "#f57800", ++ [12] = "#00ff00", ++ [13] = "#711c91", ++ [14] = "#0abdc6", ++ [15] = "#d7d7d5", + + [255] = 0, + + /* more colors can be added after 255 to use with DefaultXX */ +- "#cccccc", +- "#555555", +- "gray90", /* default foreground colour */ +- "black", /* default background colour */ ++ [256] = "#0abdc6", // foreground ++ [257] = "#000b1e", // background ++ [258] = "#ffffff", // cursor + }; + + + /* + * Default colors (colorname index) +- * foreground, background, cursor, reverse cursor ++ * foreground, background, cursor + */ +-unsigned int defaultfg = 258; +-unsigned int defaultbg = 259; +-unsigned int defaultcs = 256; +-static unsigned int defaultrcs = 257; ++unsigned int defaultfg = 256; ++unsigned int defaultbg = 257; ++unsigned int defaultcs = 258; ++static unsigned int defaultrcs = 258; + + /* + * Default shape of cursor +-- +2.37.0 +