sites

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

st-gruvbox-dark-0.8.2.diff (1624B)


      1 diff --git a/config.def.h b/config.def.h
      2 index 877afab..6a1699f 100644
      3 --- a/config.def.h
      4 +++ b/config.def.h
      5 @@ -84,41 +84,35 @@ static 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 -};
     35 
     36 +  /* 8 normal colors */
     37 +  [0] = "#282828", /* hard contrast: #1d2021 / soft contrast: #32302f */
     38 +  [1] = "#cc241d", /* red     */
     39 +  [2] = "#98971a", /* green   */
     40 +  [3] = "#d79921", /* yellow  */
     41 +  [4] = "#458588", /* blue    */
     42 +  [5] = "#b16286", /* magenta */
     43 +  [6] = "#689d6a", /* cyan    */
     44 +  [7] = "#a89984", /* white   */
     45 +
     46 +  /* 8 bright colors */
     47 +  [8]  = "#928374", /* black   */
     48 +  [9]  = "#fb4934", /* red     */
     49 +  [10] = "#b8bb26", /* green   */
     50 +  [11] = "#fabd2f", /* yellow  */
     51 +  [12] = "#83a598", /* blue    */
     52 +  [13] = "#d3869b", /* magenta */
     53 +  [14] = "#8ec07c", /* cyan    */
     54 +  [15] = "#ebdbb2", /* white   */
     55 +};
     56 
     57  /*
     58   * Default colors (colorname index)
     59 - * foreground, background, cursor, reverse cursor
     60 + * foreground, background, cursor
     61   */
     62 -unsigned int defaultfg = 7;
     63 -unsigned int defaultbg = 0;
     64 -static unsigned int defaultcs = 256;
     65 +unsigned int defaultfg = 15;
     66 +unsigned int defaultbg = 0;
     67 +static unsigned int defaultcs = 15;
     68  static unsigned int defaultrcs = 257;
     69 
     70  /*