st

fork of suckless's simple terminal
Index Commits Files Refs README LICENSE
patches/st-gruvbox-dark-0.8.5.diff (1640B)
   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] = "#282828", /* hard contrast: #1d2021 / soft contrast: #32302f */
  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] = "#a89984", /* 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]  = "#fb4934", /* red     */
  45 +    [10] = "#b8bb26", /* green   */
  46 +    [11] = "#fabd2f", /* yellow  */
  47 +    [12] = "#83a598", /* blue    */
  48 +    [13] = "#d3869b", /* magenta */
  49 +    [14] = "#8ec07c", /* cyan    */
  50 +    [15] = "#ebdbb2", /* white   */
  51  };
  52  
  53  
  54 @@ -129,9 +121,9 @@ static const char *colorname[] = {
  55   * Default colors (colorname index)
  56   * foreground, background, cursor, reverse cursor
  57   */
  58 -unsigned int defaultfg = 258;
  59 -unsigned int defaultbg = 259;
  60 -unsigned int defaultcs = 256;
  61 +unsigned int defaultfg = 15;
  62 +unsigned int defaultbg = 0;
  63 +unsigned int defaultcs = 15;
  64  static unsigned int defaultrcs = 257;
  65  
  66  /*