transparency to alt keys, added to man

This commit is contained in:
Luke Smith 2020-08-21 15:35:47 -04:00
parent acdd54fe19
commit 8ab3d03681
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
2 changed files with 5 additions and 2 deletions

View file

@ -267,8 +267,8 @@ static Shortcut shortcuts[] = {
{ MODKEY, XK_Down, kscrolldown, {.i = 1} }, { MODKEY, XK_Down, kscrolldown, {.i = 1} },
{ MODKEY, XK_u, kscrollup, {.i = -1} }, { MODKEY, XK_u, kscrollup, {.i = -1} },
{ MODKEY, XK_d, kscrolldown, {.i = -1} }, { MODKEY, XK_d, kscrolldown, {.i = -1} },
{ ControlMask, XK_F11, changealpha, {.f = -0.05} }, { MODKEY, XK_s, changealpha, {.f = -0.05} },
{ ControlMask, XK_F12, changealpha, {.f = +0.05} }, { MODKEY, XK_a, changealpha, {.f = +0.05} },
{ TERMMOD, XK_Up, zoom, {.f = +1} }, { TERMMOD, XK_Up, zoom, {.f = +1} },
{ TERMMOD, XK_Down, zoom, {.f = -1} }, { TERMMOD, XK_Down, zoom, {.f = -1} },
{ TERMMOD, XK_K, zoom, {.f = +1} }, { TERMMOD, XK_K, zoom, {.f = +1} },

3
st.1
View file

@ -157,6 +157,9 @@ Show dmenu menu of all recently run commands and copy the output of the chosen c
.I xclip .I xclip
required. required.
.TP .TP
.B Alt-a/s
Increase or decrease opacity/alpha value (make window more or less transparent).
.TP
.B Break .B Break
Send a break in the serial line. Send a break in the serial line.
Break key is obtained in PC keyboards Break key is obtained in PC keyboards