sites

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

st-windows-xp-colorscheme-20241119-4801b01.diff (1480B)


      1 From 4801b01b171ba8d4bec667d6a6b83f3fbd6af5bd Mon Sep 17 00:00:00 2001
      2 From: elbachir-one <bachiralfa@gmail.com>
      3 Date: Tue, 19 Nov 2024 18:23:59 +0100
      4 Subject: [PATCH] Windows XP color scheme
      5 
      6 ---
      7  config.def.h | 42 ++++++++++++++++++++----------------------
      8  1 file changed, 20 insertions(+), 22 deletions(-)
      9 
     10 diff --git a/config.def.h b/config.def.h
     11 index 2cd740a..a6d71f1 100644
     12 --- a/config.def.h
     13 +++ b/config.def.h
     14 @@ -96,35 +96,33 @@ 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 +	"#d3d7cf",
     27 +	"#d3d7cf",
     28 +	"#000000",
     29 +	"#ffffff",
     30 +	"#0000aa",
     31 +	"#89dceb",
     32 +	"#d9e0ee",
     33 +	"#988ba2",
     34  
     35  	/* 8 bright colors */
     36 -	"gray50",
     37 -	"red",
     38 -	"green",
     39 -	"yellow",
     40 -	"#5c5cff",
     41 -	"magenta",
     42 -	"cyan",
     43 -	"white",
     44 +	"#270e05",
     45 +	"#6b290f",
     46 +	"#bd4307",
     47 +	"#ffba51",
     48 +	"#96cdfb",
     49 +	"#f5c2e7",
     50 +	"#89dceb",
     51 +	"#d9e0ee",
     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 +	"#ffffff", /* default foreground color */
     61 +	"#000000", /* default background color */
     62 +	"#d3d7cf", /* default cursor color */
     63 +	"#0000aa", /* reverse cursor color */
     64  };
     65 -
     66 -
     67  /*
     68   * Default colors (colorname index)
     69   * foreground, background, cursor, reverse cursor
     70 -- 
     71 2.46.2
     72