st-cyberpunk-neon-20220703-baa9357.diff - sites - public wiki contents of suckless.org
 (HTM) git clone git://git.suckless.org/sites
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       st-cyberpunk-neon-20220703-baa9357.diff (1859B)
       ---
            1 From 04919f591bc1eb7a60cf330907171c230d7ac17b Mon Sep 17 00:00:00 2001
            2 From: cybvik <mail@cybvik.xyz>
            3 Date: Sun, 3 Jul 2022 04:28:11 +0200
            4 Subject: [PATCH] Applied Cyberpunk-Neon colorscheme
            5 
            6 ---
            7  config.def.h | 49 ++++++++++++++++++++++++-------------------------
            8  1 file changed, 24 insertions(+), 25 deletions(-)
            9 
           10 diff --git a/config.def.h b/config.def.h
           11 index 91ab8ca..20b92ae 100644
           12 --- a/config.def.h
           13 +++ b/config.def.h
           14 @@ -96,43 +96,42 @@ unsigned int tabspaces = 8;
           15  /* Terminal colors (16 first used in escape sequence) */
           16  static const char *colorname[] = {
           17          /* 8 normal colors */
           18 -        "black",
           19 -        "red3",
           20 -        "green3",
           21 -        "yellow3",
           22 -        "blue2",
           23 -        "magenta3",
           24 -        "cyan3",
           25 -        "gray90",
           26 +        [0] = "#123e7c",
           27 +        [1] = "#ff0000",
           28 +        [2] = "#d300c4",
           29 +        [3] = "#f57800",
           30 +        [4] = "#123e7c",
           31 +        [5] = "#711c91",
           32 +        [6] = "#0abdc6",
           33 +        [7] = "#d7d7d5",
           34  
           35          /* 8 bright colors */
           36 -        "gray50",
           37 -        "red",
           38 -        "green",
           39 -        "yellow",
           40 -        "#5c5cff",
           41 -        "magenta",
           42 -        "cyan",
           43 -        "white",
           44 +        [8] = "#1c61c2",
           45 +        [9] = "#ff0000",
           46 +        [10] = "#d300c4",
           47 +        [11] = "#f57800",
           48 +        [12] = "#00ff00",
           49 +        [13] = "#711c91",
           50 +        [14] = "#0abdc6",
           51 +        [15] = "#d7d7d5",
           52  
           53          [255] = 0,
           54  
           55          /* more colors can be added after 255 to use with DefaultXX */
           56 -        "#cccccc",
           57 -        "#555555",
           58 -        "gray90", /* default foreground colour */
           59 -        "black", /* default background colour */
           60 +        [256] = "#0abdc6", // foreground
           61 +        [257] = "#000b1e", // background
           62 +        [258] = "#ffffff", // cursor
           63  };
           64  
           65  
           66  /*
           67   * Default colors (colorname index)
           68 - * foreground, background, cursor, reverse cursor
           69 + * foreground, background, cursor
           70   */
           71 -unsigned int defaultfg = 258;
           72 -unsigned int defaultbg = 259;
           73 -unsigned int defaultcs = 256;
           74 -static unsigned int defaultrcs = 257;
           75 +unsigned int defaultfg = 256;
           76 +unsigned int defaultbg = 257;
           77 +unsigned int defaultcs = 258;
           78 +static unsigned int defaultrcs = 258;
           79  
           80  /*
           81   * Default shape of cursor
           82 -- 
           83 2.37.0
           84