changeset: 244:2dc75375c68a
tag: tip
user: niki_AT_redblacktree
date: Fri Sep 11 22:35:39 2009 -0400
files: dwm.suckless.org/patches/fibonacci.md dwm.suckless.org/patches/movestack.md
description:
Updated the fibonacci and movestack patches and added them to the patches section
diff -r dc0b0a20091b -r 2dc75375c68a dwm.suckless.org/patches/fibonacci.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/fibonacci.md Fri Sep 11 22:35:39 2009 -0400
_AT_@ -0,0 +1,56 @@
+# FIBONACCI LAYOUTS
+
+## Description
+
+This patch adds two new layouts (`spiral` and `dwindle`) that arranges all
+windows in Fibonacci tiles: The first window uses half the screen, the second
+the half of the remainder, etc. ASCII art and a real screenshot of the spiral
+arrangement can be seen below.
+
+ +-----------+-----------+ +-----------+-----------+
+ | | | | | |
+ | | 2 | | | 2 |
+ | | | | | |
+ | 1 +--+--+-----+ | 1 +-----+-----+
+ | | 5|-.| | | | | 4 |
+ | +--+--+ 3 | | | 3 +--+--+
+ | | 4 | | | | | 5|-.|
+ +-----------+-----+-----+ +-----------+-----+-----+
+ spiral dwindle
+
+[![dwm in spiral layout.][1]][2]
+
+*Links2, sic, xterm & xclock in spiral layout.*
+
+## Usage
+
+ 1. Download the patch and apply according to the [general instructions](.).
+ 2. Include the `fibonacci.c` source file and add `spiral` and/or `dwindle` to
+ the `Layout` section of your `config.h` file.
+ Example from `config.default.h`:
+
+ #include "fibonacci.c"
+ static Layout layout[] = { \
+ /* symbol function */ \
+ { "[]=", tile }, /* first entry is default */ \
+ { "><>", floating }, \
+ { "(_AT_)", spiral }, \
+ { "[\\]", dwindle }, \
+ };
+
+## Download
+
+ * [dwm-5.6.1-fibonacci.diff][4] (1.9k) (20090911)
+
+## Maintainer
+
+ * Niki Yoshiuchi - <aplusbi_AT_gmail.com>
+
+Joe Thornber's spiral tiling for [Xmonad][3] formed the inspiration for this
+patch. Thanks to Jan Christoph Ebersbach for updating this patch for versions
+4.5 to 4.9.
+
+[1]:
http://schot.a-eskwadraat.nl/images/dwm-spiral_small.png
+[2]:
http://schot.a-eskwadraat.nl/images/dwm-spiral.png
+[3]:
http://www.xmonad.org
+[4]:
http://www.aplusbi.com/projects/dwm/dwm-5.6.1-fibonacci.diff
diff -r dc0b0a20091b -r 2dc75375c68a dwm.suckless.org/patches/movestack.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/movestack.md Fri Sep 11 22:35:39 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.6.1-movestack.diff][1] (2.4k) (20090911)
+
+## Author
+
+ * Niki Yoshiuchi - <aplusbi_AT_gmail.com>
+
+[1]:
http://www.aplusbi.com/projects/dwm-5.6.1-movestack.diff
Received on Sat Sep 12 2009 - 04:35:38 CEST