st-gruvbox-material-0.8.2.diff - sites - public wiki contents of suckless.org
(HTM) git clone git://git.suckless.org/sites
(DIR) Log
(DIR) Files
(DIR) Refs
---
st-gruvbox-material-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] = "#ea6962", /* red */
39 + [2] = "#a9b665", /* green */
40 + [3] = "#d8a657", /* yellow */
41 + [4] = "#7daea3", /* blue */
42 + [5] = "#d3869b", /* magenta */
43 + [6] = "#89b482", /* cyan */
44 + [7] = "#d4be98", /* white */
45 +
46 + /* 8 bright colors */
47 + [8] = "#928374", /* black */
48 + [9] = "#ef938e", /* red */
49 + [10] = "#bbc585", /* green */
50 + [11] = "#e1bb7e", /* yellow */
51 + [12] = "#9dc2ba", /* blue */
52 + [13] = "#e1acbb", /* magenta */
53 + [14] = "#a7c7a2", /* cyan */
54 + [15] = "#e2d3ba", /* 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 /*