sites

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

index.md (1267B)


      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](../).
     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 Download
     27 --------
     28 * [dwm-movestack-6.1.diff](dwm-movestack-6.1.diff)
     29 * [dwm-movestack-5.8.2.diff](dwm-movestack-5.8.2.diff)
     30 
     31 Author
     32 ------
     33 * Niki Yoshiuchi - `<`aplusbi@gmail.com`>`
     34 
     35 Contributors
     36 ------------
     37 * Moritz Wilhelmy (fix to work with dwm 5.8) - <moritz plus suckless at wzff dot de>
     38 
     39 Note
     40 ----
     41 This patch seems to be equivalent to the [push](../push/) patch.