sites

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

st-solarized-light-0.8.5.diff (1562B)


      1 diff --git a/config.def.h b/config.def.h
      2 index 91ab8ca..6943f7c 100644
      3 --- a/config.def.h
      4 +++ b/config.def.h
      5 @@ -95,26 +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 +	/* solarized light */
     30 +	"#eee8d5",  /*  0: black    */
     31 +	"#dc322f",  /*  1: red      */
     32 +	"#859900",  /*  2: green    */
     33 +	"#b58900",  /*  3: yellow   */
     34 +	"#268bd2",  /*  4: blue     */
     35 +	"#d33682",  /*  5: magenta  */
     36 +	"#2aa198",  /*  6: cyan     */
     37 +	"#073642",  /*  7: white    */
     38 +	"#fdf6e3",  /*  8: brblack  */
     39 +	"#cb4b16",  /*  9: brred    */
     40 +	"#93a1a1",  /* 10: brgreen  */
     41 +	"#839496",  /* 11: bryellow */
     42 +	"#657b83",  /* 12: brblue   */
     43 +	"#6c71c4",  /* 13: brmagenta*/
     44 +	"#586e75",  /* 14: brcyan   */
     45 +	"#002b36",  /* 15: brwhite  */
     46  	[255] = 0,
     47 
     48  	/* more colors can be added after 255 to use with DefaultXX */
     49 @@ -129,10 +126,10 @@ static const char *colorname[] = {
     50   * Default colors (colorname index)
     51   * foreground, background, cursor, reverse cursor
     52   */
     53 -unsigned int defaultfg = 258;
     54 -unsigned int defaultbg = 259;
     55 -unsigned int defaultcs = 256;
     56 -static unsigned int defaultrcs = 257;
     57 +unsigned int defaultfg = 12;
     58 +unsigned int defaultbg = 8;
     59 +unsigned int defaultcs = 14;
     60 +static unsigned int defaultrcs = 15;
     61 
     62  /*
     63   * Default shape of cursor