Added dwm-sticky patch

Make sticky windows, which are kinda like Mod-Shift-0 tagged windows
but easier to manage.
This commit is contained in:
2024-07-24 16:19:34 +01:00
parent 5e14cd8e26
commit a5ef1a0a85
3 changed files with 184 additions and 7 deletions

View File

@@ -121,6 +121,7 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_j, inplacerotate, {.i = -1} },
{ MODKEY|ShiftMask, XK_h, inplacerotate, {.i = -2} },
{ MODKEY|ShiftMask, XK_l, inplacerotate, {.i = +2} },
{ MODKEY|ControlMask, XK_s, togglesticky, {0} },
{ MODKEY, XK_c, zoom, {0} },
{ MODKEY|ShiftMask, XK_t, setlayout, {.v = &layouts[0]} }, //tiling
{ MODKEY|ShiftMask, XK_f, setlayout, {.v = &layouts[1]} }, //floating