MoveStack patch
This plugin allows you to move clients around in the stack and swap them with the master. It emulates the behavior off mod+shift+j and mod+shift+k in Xmonad. movestack(+1) will swap the client with the current focus with the next client. movestack(-1) will swap the client with the current focus with the previous client.
This commit is contained in:
@@ -74,6 +74,7 @@ static const char *termcmd[] = { "st", NULL };
|
||||
#include "shift-tools.c"
|
||||
|
||||
#include "exitdwm.c"
|
||||
#include "movestack.c"
|
||||
static const Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
{ MODKEY, XK_p, spawndmenu, {0} },
|
||||
@@ -95,6 +96,8 @@ static const Key keys[] = {
|
||||
{ MODKEY|ControlMask, XK_l, shiftswaptags, { .i = +1 } },
|
||||
{ MODKEY|ShiftMask, XK_l, shiftboth, { .i = +1 } },
|
||||
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
|
||||
{ MODKEY|ShiftMask, XK_j, movestack, {.i = +1 } },
|
||||
{ MODKEY|ShiftMask, XK_k, movestack, {.i = -1 } },
|
||||
{ MODKEY, XK_Return, zoom, {0} },
|
||||
{ MODKEY, XK_Tab, view, {0} },
|
||||
{ MODKEY, XK_g, goback, {0} },
|
||||
|
||||
Reference in New Issue
Block a user