From 8ab3d03681479263a11b05f7f1b53157f61e8c3b Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 21 Aug 2020 15:35:47 -0400 Subject: [PATCH] transparency to alt keys, added to man --- config.h | 4 ++-- st.1 | 3 +++ 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