movestack
Description
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.
Usage
- Download the patch and apply according to the general instructions.
- Include the
movestack.c
source file and add keys that call movestack. Example fromconfig.default.h
:
#include "movestack.c"
static Key keys[] = {
/* modifier key function argument */
...
{ MODKEY|ShiftMask, XK_j, movestack, {.i = +1 } },
{ MODKEY|ShiftMask, XK_k, movestack, {.i = -1 } },
...
};
Download
- dwm-5.2-movestack.diff (1.9k) (20081003)
Author
- Niki Yoshiuchi - aplusbi@gmail.com