fix: SUPER-= now resets the gapps

This commit is contained in:
swytch 2020-07-11 17:15:43 +02:00
parent fa2aa52e77
commit 9c08b51e34
2 changed files with 3 additions and 4 deletions

View File

@ -92,7 +92,7 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
{ MODKEY, XK_less, setgaps, {.i = -5 } }, { MODKEY, XK_less, setgaps, {.i = -5 } },
{ MODKEY|ShiftMask, XK_less, setgaps, {.i = +5 } }, { MODKEY|ShiftMask, XK_less, setgaps, {.i = +5 } },
{ MODKEY, XK_equal, setgaps, {.i = 10 } }, { MODKEY, XK_equal, setgaps, {.i = 0 } },
TAGKEYS( XK_ampersand, 0) TAGKEYS( XK_ampersand, 0)
TAGKEYS( XK_eacute, 1) TAGKEYS( XK_eacute, 1)
TAGKEYS( XK_quotedbl, 2) TAGKEYS( XK_quotedbl, 2)

5
dwm.1
View File

@ -152,9 +152,8 @@ Decrease the gaps around windows.
Increase the gaps around windows. Increase the gaps around windows.
.TP .TP
.B SUPER\-= .B SUPER\-=
Reset the gaps around windows to their default Reset the gaps around windows to
.B (10) .BR 0 .
value.
.TP .TP
.B SUPER\-Shift\-q .B SUPER\-Shift\-q
Quit dwm. Quit dwm.