sites

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

st-catppuccin-mocha-01062026.diff (1337B)


      1 diff --git a/config.def.h b/config.def.h
      2 index 91ab8ca..a068694 100644
      3 --- a/config.def.h
      4 +++ b/config.def.h
      5 @@ -96,32 +96,24 @@ unsigned int tabspaces = 8;
      6  /* Terminal colors (16 first used in escape sequence) */
      7  static const char *colorname[] = {
      8  	/* 8 normal colors */
      9 -	"black",
     10 -	"red3",
     11 -	"green3",
     12 -	"yellow3",
     13 -	"blue2",
     14 -	"magenta3",
     15 -	"cyan3",
     16 -	"gray90",
     17 +	[0] = "#1e1e2e", /* black    */ 
     18 +	[1] = "#f38ba8", /* red      */
     19 +	[2] = "#a6e3a1", /* green    */
     20 +	[3] = "#f9e2af", /* yellow   */
     21 +	[4] = "#89b4fa", /* blue     */
     22 +	[5] = "#cba6f7", /* mauve    */
     23 +	[6] = "#74c7ec", /* sapphire */
     24 +	[7] = "#cdd6f4", /* white    */
     25  
     26  	/* 8 bright colors */
     27 -	"gray50",
     28 -	"red",
     29 -	"green",
     30 -	"yellow",
     31 -	"#5c5cff",
     32 -	"magenta",
     33 -	"cyan",
     34 -	"white",
     35 -
     36 -	[255] = 0,
     37 -
     38 -	/* more colors can be added after 255 to use with DefaultXX */
     39 -	"#cccccc",
     40 -	"#555555",
     41 -	"gray90", /* default foreground colour */
     42 -	"black", /* default background colour */
     43  };
     44  
     45  
     46 @@ -129,9 +121,9 @@ static const char *colorname[] = {
     47   * Default colors (colorname index)
     48   * foreground, background, cursor, reverse cursor
     49   */
     50 -unsigned int defaultfg = 258;
     51 -unsigned int defaultbg = 259;
     52 -unsigned int defaultcs = 256;
     53 +unsigned int defaultfg = 15;
     54 +unsigned int defaultbg = 0;
     55 +unsigned int defaultcs = 15;
     56  static unsigned int defaultrcs = 257;
     57  
     58  /*