diff options
author | Federico I <git@federicoigne.com> | 2020-03-21 13:15:29 +0000 |
---|---|---|
committer | Federico I <git@federicoigne.com> | 2020-03-21 13:15:29 +0000 |
commit | 9b0126bab0a35159d421e73412c930b646651346 (patch) | |
tree | e8b592cac512fd823c2d08e527c591546c0562ca /config.def.h | |
parent | 6524745f3a2e106037980b908c8890c650b16ba2 (diff) | |
download | st-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.h | 6 |
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 | */ |
83 | unsigned int tabspaces = 8; | 83 | unsigned int tabspaces = 8; |
84 | 84 | ||
85 | /* bg opacity */ | ||
86 | float alpha = 0.8; | ||
87 | |||
85 | /* Terminal colors (16 first used in escape sequence) */ | 88 | /* Terminal colors (16 first used in escape sequence) */ |
86 | static const char *colorname[] = { | 89 | static 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 | */ |
119 | unsigned int defaultfg = 7; | 123 | unsigned int defaultfg = 7; |
120 | unsigned int defaultbg = 0; | 124 | unsigned int defaultbg = 258; |
121 | static unsigned int defaultcs = 256; | 125 | static unsigned int defaultcs = 256; |
122 | static unsigned int defaultrcs = 257; | 126 | static unsigned int defaultrcs = 257; |
123 | 127 | ||