st-dracula-0.8.5.diff - sites - public wiki contents of suckless.org
(HTM) git clone git://git.suckless.org/sites
(DIR) Log
(DIR) Files
(DIR) Refs
---
st-dracula-0.8.5.diff (2203B)
---
1 diff '--color=auto' -up ../st/config.def.h ./config.def.h
2 --- ../st/config.def.h 2022-03-09 08:28:40.186246176 -0300
3 +++ ./config.def.h 2022-03-09 08:26:03.194323581 -0300
4 @@ -95,27 +95,29 @@ unsigned int tabspaces = 8;
5
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 -
18 - /* 8 bright colors */
19 - "gray50",
20 - "red",
21 - "green",
22 - "yellow",
23 - "#5c5cff",
24 - "magenta",
25 - "cyan",
26 - "white",
27 -
28 - [255] = 0,
29 + /* 8 normal colors */
30 + [0] = "#000000", /* black */
31 + [1] = "#ff5555", /* red */
32 + [2] = "#50fa7b", /* green */
33 + [3] = "#f1fa8c", /* yellow */
34 + [4] = "#bd93f9", /* blue */
35 + [5] = "#ff79c6", /* magenta */
36 + [6] = "#8be9fd", /* cyan */
37 + [7] = "#bbbbbb", /* white */
38 +
39 + /* 8 bright colors */
40 + [8] = "#44475a", /* black */
41 + [9] = "#ff5555", /* red */
42 + [10] = "#50fa7b", /* green */
43 + [11] = "#f1fa8c", /* yellow */
44 + [12] = "#bd93f9", /* blue */
45 + [13] = "#ff79c6", /* magenta */
46 + [14] = "#8be9fd", /* cyan */
47 + [15] = "#ffffff", /* white */
48 +
49 + /* special colors */
50 + [256] = "#282a36", /* background */
51 + [257] = "#f8f8f2", /* foreground */
52
53 /* more colors can be added after 255 to use with DefaultXX */
54 "#cccccc",
55 @@ -127,14 +129,22 @@ static const char *colorname[] = {
56
57 /*
58 * Default colors (colorname index)
59 - * foreground, background, cursor, reverse cursor
60 + * foreground, background, cursor
61 */
62 -unsigned int defaultfg = 258;
63 -unsigned int defaultbg = 259;
64 -unsigned int defaultcs = 256;
65 +unsigned int defaultfg = 257;
66 +unsigned int defaultbg = 256;
67 +unsigned int defaultcs = 257;
68 static unsigned int defaultrcs = 257;
69
70 /*
71 + * Colors used, when the specific fg == defaultfg. So in reverse mode this
72 + * will reverse too. Another logic would only make the simple feature too
73 + * complex.
74 + */
75 +unsigned int defaultitalic = 7;
76 +unsigned int defaultunderline = 7;
77 +
78 +/*
79 * Default shape of cursor
80 * 2: Block ("█")
81 * 4: Underline ("_")