changeset: 141:f500bda2e510
tag: tip
user: niki_AT_redblacktree
date: Sun Jul 12 21:03:09 2009 -0400
files: dwm.suckless.org/patches/movestack.md
description:
Adding a page for the movestack patch, that allows clients to be moved around in the stack.
diff -r 8d53a09afa59 -r f500bda2e510 dwm.suckless.org/patches/movestack.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/movestack.md Sun Jul 12 21:03:09 2009 -0400
_AT_@ -0,0 +1,32 @@
+# 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
+
+ 1. Download the patch and apply according to the [general instructions](.).
+ 2. Include the `movestack.c` source file and add keys that call movestack.
+ Example from `config.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] (1.9k) (20081003)
+
+## Author
+
+ * Niki Yoshiuchi - <aplusbi_AT_gmail.com>
+
+[1]:
http://www.aplusbi.com/dwm/dwm-5.2-movestack.diff
Received on Mon Jul 13 2009 - 03:04:41 CEST