summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-08-21 15:35:47 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-08-21 15:35:47 -0400
commit8ab3d03681479263a11b05f7f1b53157f61e8c3b (patch)
tree51dd6c8c7cf0f1e40112211c6e7b98c07d7067f2
parentacdd54fe1911ad7fe8dfc107cb7794ec9e8aa798 (diff)
transparency to alt keys, added to man
-rw-r--r--config.h4
-rw-r--r--st.13
2 files changed, 5 insertions, 2 deletions
diff --git a/config.h b/config.h
index b49a405..a6c70ac 100644
--- a/config.h
+++ b/config.h
@@ -267,8 +267,8 @@ static Shortcut shortcuts[] = {
{ MODKEY, XK_Down, kscrolldown, {.i = 1} },
{ MODKEY, XK_u, kscrollup, {.i = -1} },
{ MODKEY, XK_d, kscrolldown, {.i = -1} },
- { ControlMask, XK_F11, changealpha, {.f = -0.05} },
- { ControlMask, XK_F12, 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} },
diff --git a/st.1 b/st.1
index 57c35f4..8701592 100644
--- a/st.1
+++ b/st.1
@@ -157,6 +157,9 @@ Show dmenu menu of all recently run commands and copy the output of the chosen c
.I xclip
required.
.TP
+.B Alt-a/s
+Increase or decrease opacity/alpha value (make window more or less transparent).
+.TP
.B Break
Send a break in the serial line.
Break key is obtained in PC keyboards