Introduction
Introduction Statistics Contact Development Disclaimer Help
st-dracula-0.8.2.diff - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
st-dracula-0.8.2.diff (2010B)
---
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,44 +84,49 @@ 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] = "#000000", /* black */
38 + [1] = "#ff5555", /* red */
39 + [2] = "#50fa7b", /* green */
40 + [3] = "#f1fa8c", /* yellow */
41 + [4] = "#bd93f9", /* blue */
42 + [5] = "#ff79c6", /* magenta */
43 + [6] = "#8be9fd", /* cyan */
44 + [7] = "#bbbbbb", /* white */
45 +
46 + /* 8 bright colors */
47 + [8] = "#44475a", /* black */
48 + [9] = "#ff5555", /* red */
49 + [10] = "#50fa7b", /* green */
50 + [11] = "#f1fa8c", /* yellow */
51 + [12] = "#bd93f9", /* blue */
52 + [13] = "#ff79c6", /* magenta */
53 + [14] = "#8be9fd", /* cyan */
54 + [15] = "#ffffff", /* white */
55 +
56 + /* special colors */
57 + [256] = "#282a36", /* background */
58 + [257] = "#f8f8f2", /* foreground */
59 +};
60
61 /*
62 * Default colors (colorname index)
63 - * foreground, background, cursor, reverse cursor
64 + * foreground, background, cursor
65 */
66 -unsigned int defaultfg = 7;
67 -unsigned int defaultbg = 0;
68 -static unsigned int defaultcs = 256;
69 +unsigned int defaultfg = 257;
70 +unsigned int defaultbg = 256;
71 +static unsigned int defaultcs = 257;
72 static unsigned int defaultrcs = 257;
73
74 /*
75 + * Colors used, when the specific fg == defaultfg. So in reverse mode t…
76 + * will reverse too. Another logic would only make the simple feature t…
77 + * complex.
78 + */
79 +unsigned int defaultitalic = 7;
80 +unsigned int defaultunderline = 7;
81 +/*
82 * Default shape of cursor
83 * 2: Block ("█")
84 * 4: Underline ("_")
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.