aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorFederico I <git@federicoigne.com>2020-03-21 22:44:20 +0000
committerFederico I <git@federicoigne.com>2020-03-21 22:44:20 +0000
commit35befbb19e5c677c3183028338e27055814bbcd5 (patch)
treeed411b674f739a838b516e0d79fa77575bc98bb3 /config.def.h
parent82deff42852af0512111e76ac8392e14737dea65 (diff)
downloadst-35befbb19e5c677c3183028338e27055814bbcd5.tar.gz
st-35befbb19e5c677c3183028338e27055814bbcd5.zip
Revert Alpha patch
While the patch works fine and embedding issues have been fixed in the latest patch (0.8.2), it breaks embedding for other programs like dmenu and sxiw. Also, in the end, I prefer an opaque background.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h
index 85a1d17..546edda 100644
--- a/config.def.h
+++ b/config.def.h
@@ -82,9 +82,6 @@ char *termname = "st-256color";
82 */ 82 */
83unsigned int tabspaces = 8; 83unsigned int tabspaces = 8;
84 84
85/* bg opacity */
86float alpha = 0.8;
87
88/* Terminal colors (16 first used in escape sequence) */ 85/* Terminal colors (16 first used in escape sequence) */
89static const char *colorname[] = { 86static const char *colorname[] = {
90 /* 8 normal colors */ 87 /* 8 normal colors */
@@ -112,7 +109,6 @@ static const char *colorname[] = {
112 /* more colors can be added after 255 to use with DefaultXX */ 109 /* more colors can be added after 255 to use with DefaultXX */
113 "#cccccc", 110 "#cccccc",
114 "#555555", 111 "#555555",
115 "black",
116}; 112};
117 113
118 114
@@ -121,7 +117,7 @@ static const char *colorname[] = {
121 * foreground, background, cursor, reverse cursor 117 * foreground, background, cursor, reverse cursor
122 */ 118 */
123unsigned int defaultfg = 7; 119unsigned int defaultfg = 7;
124unsigned int defaultbg = 258; 120unsigned int defaultbg = 0;
125static unsigned int defaultcs = 256; 121static unsigned int defaultcs = 256;
126static unsigned int defaultrcs = 257; 122static unsigned int defaultrcs = 257;
127 123