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