sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (1047B)


      1 movestack 
      2 ==========
      3 
      4 Description
      5 -----------
      6 This plugin allows you to move clients around in the stack and swap them with
      7 the master. It emulates the behavior off mod+shift+j and mod+shift+k in Xmonad.
      8 movestack(+1) will swap the client with the current focus with the next client.
      9 movestack(-1) will swap the client with the current focus with the previous
     10 client.
     11 
     12 Usage
     13 -----
     14 1. Download the patch and apply according to the [general instructions](//suckless.org/hacking/).
     15 2. Include the `movestack.c` source file and add keys that call movestack.
     16    Example from `config.default.h`:
     17 
     18 	#include "movestack.c"
     19 	static Key keys[] = {
     20 		/* modifier                     key        function        argument */
     21 		...
     22 		{ MODKEY|ShiftMask,             XK_j,      movestack,      {.i = +1 } },
     23 		{ MODKEY|ShiftMask,             XK_k,      movestack,      {.i = -1 } },
     24 		...
     25 	};
     26 
     27 Download
     28 --------
     29 * [dwm-5.2-movestack.diff](http://www.aplusbi.com/dwm/dwm-5.2-movestack.diff) (1.9k) (20081003)
     30 
     31 Author
     32 ------
     33 * Niki Yoshiuchi - <aplusbi@gmail.com>