movestack - Patch

This commit is contained in:
riomoo 2025-02-14 22:32:24 -05:00
parent 1306d2d540
commit 361054b838
Signed by: riomoo
SSH key fingerprint: SHA256:IidVcrEqw4r/6zlIASTgxRmFBmyRiZ/31wjlNkFzVG0
9 changed files with 146 additions and 2295 deletions

View file

@ -64,6 +64,7 @@ static const char *dmenucmd[] = { "dmenu_run", "-p", "Run: ", NULL };
static const char *termcmd[] = { "st", NULL };
static const char *volume[] = { "st", "-e", "pulsemixer", NULL };
#include "movestack.c"
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
@ -74,6 +75,8 @@ static const Key keys[] = {
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
{ MODKEY, XK_d, incnmaster, {.i = -1 } },
{ MODKEY|ShiftMask, XK_j, movestack, {.i = +1 } },
{ MODKEY|ShiftMask, XK_k, movestack, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY, XK_p, zoom, {0} },