summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xdefaults6
-rw-r--r--config.h6
2 files changed, 7 insertions, 5 deletions
diff --git a/Xdefaults b/Xdefaults
index 040c772..b294755 100644
--- a/Xdefaults
+++ b/Xdefaults
@@ -1,6 +1,8 @@
!! Transparency (0-1):
-st.alpha: 0.92
-st.alphaOffset: 0.3
+!!st.alpha: 0.92
+!!st.alphaOffset: 0.3
+st.alpha: 1.0
+st.alphaOffset: 0.0
!! Set a default font and font size as below:
st.font: Monospace-11;
diff --git a/config.h b/config.h
index c795c66..c5233f3 100644
--- a/config.h
+++ b/config.h
@@ -105,7 +105,7 @@ char *termname = "st-256color";
unsigned int tabspaces = 8;
/* bg opacity */
-float alpha = 0.95;
+float alpha = 1.0;
float alphaOffset = 0.0;
float alphaUnfocus;
@@ -273,8 +273,8 @@ static Shortcut shortcuts[] = {
{ MODKEY, XK_Down, kscrolldown, {.i = 1} },
{ MODKEY, XK_u, kscrollup, {.i = -1} },
{ MODKEY, XK_d, kscrolldown, {.i = -1} },
- { MODKEY, XK_s, changealpha, {.f = -0.05} },
- { MODKEY, XK_a, changealpha, {.f = +0.05} },
+ { MODKEY, XK_s, changealpha, {.f = -0.05} },
+ { MODKEY, XK_a, changealpha, {.f = +0.05} },
{ TERMMOD, XK_Up, zoom, {.f = +1} },
{ TERMMOD, XK_Down, zoom, {.f = -1} },
{ TERMMOD, XK_K, zoom, {.f = +1} },