sites

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

st-gruvbox-light-0.8.5.diff (1624B)


      1 diff --git a/config.def.h b/config.def.h
      2 index 91ab8ca..0be90e8 100644
      3 --- a/config.def.h
      4 +++ b/config.def.h
      5 @@ -96,42 +96,34 @@ 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] = "#fbf1c7", /* hard contrast: #f9f5d7 / soft contrast: #f2e5bc */
     18 +	[1] = "#cc241d", /* red     */
     19 +	[2] = "#98971a", /* green   */
     20 +	[3] = "#d79921", /* yellow  */
     21 +	[4] = "#458588", /* blue    */
     22 +	[5] = "#b16286", /* magenta */
     23 +	[6] = "#689d6a", /* cyan    */
     24 +	[7] = "#7c6f64", /* 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 +	[8]  = "#928374", /* black   */
     44 +	[9]  = "#9d0006", /* red     */
     45 +	[10] = "#79740e", /* green   */
     46 +	[11] = "#b57614", /* yellow  */
     47 +	[12] = "#076678", /* blue    */
     48 +	[13] = "#8f3f71", /* magenta */
     49 +	[14] = "#427b58", /* cyan    */
     50 +	[15] = "#3c3836", /* white   */
     51  };
     52  
     53  
     54  /*
     55   * Default colors (colorname index)
     56 - * foreground, background, cursor, reverse cursor
     57 + * foreground, background, cursor
     58   */
     59 -unsigned int defaultfg = 258;
     60 -unsigned int defaultbg = 259;
     61 -unsigned int defaultcs = 256;
     62 +unsigned int defaultfg = 15;
     63 +unsigned int defaultbg = 0;
     64 +unsigned int defaultcs = 15;
     65  static unsigned int defaultrcs = 257;
     66  
     67  /*