aboutsummaryrefslogtreecommitdiff
path: root/config.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.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.h')
-rw-r--r--config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.h b/config.h
index 40f8213..0c73d67 100644
--- a/config.h
+++ b/config.h
@@ -86,6 +86,9 @@ char *termname = "st-256color";
86 * stty tabs 86 * stty tabs
87 */ 87 */
88unsigned int tabspaces = 8; 88unsigned int tabspaces = 8;
89
90/* bg opacity */
91float alpha = 0.8;
89 92
90/* Terminal colors (16 first used in escape sequence) */ 93/* Terminal colors (16 first used in escape sequence) */
91static const char *colorname[] = { 94static const char *colorname[] = {
@@ -114,6 +117,7 @@ static const char *colorname[] = {
114 /* more colors can be added after 255 to use with DefaultXX */ 117 /* more colors can be added after 255 to use with DefaultXX */
115 "#cccccc", 118 "#cccccc",
116 "#555555", 119 "#555555",
120 "black",
117}; 121};
118 122
119 123
@@ -122,7 +126,7 @@ static const char *colorname[] = {
122 * foreground, background, cursor, reverse cursor 126 * foreground, background, cursor, reverse cursor
123 */ 127 */
124unsigned int defaultfg = 7; 128unsigned int defaultfg = 7;
125unsigned int defaultbg = 0; 129unsigned int defaultbg = 258;
126static unsigned int defaultcs = 256; 130static unsigned int defaultcs = 256;
127static unsigned int defaultrcs = 257; 131static unsigned int defaultrcs = 257;
128 132