sites

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

st-solarized-dark-0.8.5.diff (1691B)


      1 diff --git a/config.def.h b/config.def.h
      2 index 91ab8ca..0547098 100644
      3 --- a/config.def.h
      4 +++ b/config.def.h
      5 @@ -95,33 +95,23 @@ unsigned int tabspaces = 8;
      6 
      7  /* Terminal colors (16 first used in escape sequence) */
      8  static const char *colorname[] = {
      9 -	/* 8 normal colors */
     10 -	"black",
     11 -	"red3",
     12 -	"green3",
     13 -	"yellow3",
     14 -	"blue2",
     15 -	"magenta3",
     16 -	"cyan3",
     17 -	"gray90",
     18 -
     19 -	/* 8 bright colors */
     20 -	"gray50",
     21 -	"red",
     22 -	"green",
     23 -	"yellow",
     24 -	"#5c5cff",
     25 -	"magenta",
     26 -	"cyan",
     27 -	"white",
     28 -
     29 -	[255] = 0,
     30 -
     31 -	/* more colors can be added after 255 to use with DefaultXX */
     32 -	"#cccccc",
     33 -	"#555555",
     34 -	"gray90", /* default foreground colour */
     35 -	"black", /* default background colour */
     36 +	/* solarized dark */
     37 +	"#073642",  /*  0: black    */
     38 +	"#dc322f",  /*  1: red      */
     39 +	"#859900",  /*  2: green    */
     40 +	"#b58900",  /*  3: yellow   */
     41 +	"#268bd2",  /*  4: blue     */
     42 +	"#d33682",  /*  5: magenta  */
     43 +	"#2aa198",  /*  6: cyan     */
     44 +	"#eee8d5",  /*  7: white    */
     45 +	"#002b36",  /*  8: brblack  */
     46 +	"#cb4b16",  /*  9: brred    */
     47 +	"#586e75",  /* 10: brgreen  */
     48 +	"#657b83",  /* 11: bryellow */
     49 +	"#839496",  /* 12: brblue   */
     50 +	"#6c71c4",  /* 13: brmagenta*/
     51 +	"#93a1a1",  /* 14: brcyan   */
     52 +	"#fdf6e3",  /* 15: brwhite  */
     53  };
     54 
     55 
     56 @@ -129,10 +119,10 @@ static const char *colorname[] = {
     57   * Default colors (colorname index)
     58   * foreground, background, cursor, reverse cursor
     59   */
     60 -unsigned int defaultfg = 258;
     61 -unsigned int defaultbg = 259;
     62 -unsigned int defaultcs = 256;
     63 -static unsigned int defaultrcs = 257;
     64 +unsigned int defaultfg = 12;
     65 +unsigned int defaultbg = 8;
     66 +unsigned int defaultcs = 14;
     67 +static unsigned int defaultrcs = 15;
     68 
     69  /*
     70   * Default shape of cursor
     71 --
     72 2.32.0