aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorFederico I <git@federicoigne.com>2020-03-21 13:15:29 +0000
committerFederico I <git@federicoigne.com>2020-03-21 13:15:29 +0000
commit9b0126bab0a35159d421e73412c930b646651346 (patch)
treee8b592cac512fd823c2d08e527c591546c0562ca /config.def.h
parent6524745f3a2e106037980b908c8890c650b16ba2 (diff)
downloadst-9b0126bab0a35159d421e73412c930b646651346.tar.gz
st-9b0126bab0a35159d421e73412c930b646651346.zip
Apply Alpha patch
Patch Homepage: https://st.suckless.org/patches/alpha/ Patch Link: https://st.suckless.org/patches/alpha/st-alpha-0.8.2.diff Additional notes: patch applied manually
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 546edda..85a1d17 100644
--- a/config.def.h
+++ b/config.def.h
@@ -82,6 +82,9 @@ char *termname = "st-256color";
82 */ 82 */
83unsigned int tabspaces = 8; 83unsigned int tabspaces = 8;
84 84
85/* bg opacity */
86float alpha = 0.8;
87
85/* Terminal colors (16 first used in escape sequence) */ 88/* Terminal colors (16 first used in escape sequence) */
86static const char *colorname[] = { 89static const char *colorname[] = {
87 /* 8 normal colors */ 90 /* 8 normal colors */
@@ -109,6 +112,7 @@ static const char *colorname[] = {
109 /* more colors can be added after 255 to use with DefaultXX */ 112 /* more colors can be added after 255 to use with DefaultXX */
110 "#cccccc", 113 "#cccccc",
111 "#555555", 114 "#555555",
115 "black",
112}; 116};
113 117
114 118
@@ -117,7 +121,7 @@ static const char *colorname[] = {
117 * foreground, background, cursor, reverse cursor 121 * foreground, background, cursor, reverse cursor
118 */ 122 */
119unsigned int defaultfg = 7; 123unsigned int defaultfg = 7;
120unsigned int defaultbg = 0; 124unsigned int defaultbg = 258;
121static unsigned int defaultcs = 256; 125static unsigned int defaultcs = 256;
122static unsigned int defaultrcs = 257; 126static unsigned int defaultrcs = 257;
123 127