changeset: 511:6879f760fe97
tag: tip
user: joten <joten_AT_freenet.de>
date: Mon May 10 21:18:22 2010 +0200
files: suckless.org/wiki/sandbox/submenu3/subsubmenu2/flextile.md
description:
added suckless.org/wiki/sandbox/submenu3/subsubmenu2/flextile.md
diff -r 58fb84c48930 -r 6879f760fe97 suckless.org/wiki/sandbox/submenu3/subsubmenu2/flextile.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/suckless.org/wiki/sandbox/submenu3/subsubmenu2/flextile.md Mon May 10 21:18:22 2010 +0200
_AT_@ -0,0 +1,52 @@
+# FLEXTILE LAYOUT #
+
+## Description ##
+
+This patch replaces the tile layout with a more flexible version. The features include the following:
+ * tile like the original version (left single master, right stack)
+ * left/right/top/bottom n-master, right/left/bottom/top/no stack/deck (deck is like monocle in the stack area)
+ * per-tag configuration
+
+It therefor provides i. a. the following additional possibilities:
+ * tile for left-handed people
+ * compare multiple files with one other each at a time without switching between views
+
+The patch incorporates and expands the following patches:
+ * bottom stack (bstack and bstackhoriz)
+ * nmaster
+ * pertag
+
+
+## Configuration ##
+
+ (1) Download the patch and apply it according to the [general instructions](.).
+ (2) Transfer the changes made by the patch in 'config.def.h' to your 'config.h', if needed.
+ In the 'layout(s)' section:
+ static const int layoutaxis[] = {
+ 1, /* layout axis: 1 = x, 2 = y; negative values mirror the layout, setting the master area to the right / bottom instead of left / top */
+ 2, /* master axis: 1 = x (from left to right), 2 = y (from top to bottom), 3 = z (monocle) */
+ 2, /* stack axis: 1 = x (from left to right), 2 = y (from top to bottom), 3 = z (monocle) */
+ };
+ static const unsigned int mastersplit = 1; /* number of tiled clients in the master area */
+ In the 'keys' array:
+ { MODKEY|ControlMask, XK_t, rotatelayoutaxis, {.i = 0} }, /* 0 = layout axis */
+ { MODKEY|ControlMask, XK_Tab, rotatelayoutaxis, {.i = 1} }, /* 1 = master axis */
+ { MODKEY|ControlMask|ShiftMask, XK_Tab, rotatelayoutaxis, {.i = 2} }, /* 2 = stack axis */
+ { MODKEY|ControlMask, XK_Return, mirrorlayout, {0} },
+ { MODKEY|ControlMask, XK_j, shiftmastersplit, {.i = -1} },
+ { MODKEY|ControlMask, XK_k, shiftmastersplit, {.i = +1} },
+
+
+## Usage ##
+
+With the default configuration (see above) the original tile layout is emulated. You can change the layout by adjusting the four parameters 'layout axis', 'master axis', 'stack axis' and 'master split' (description see above) by pressing the appropriate keys.
+The original tile layout is only available by setting the above parameters, but not as a discrete layout; the 'monocle' layout is still available by pressing 'ALT+m' (in the default configuration).
+
+
+## Download ##
+
+ * [flextile-5.8-100510.diff][1] (13k) (20100510)
+
+
+[1]:
http://dwm.suckless.org/patches/flextile-5.8-100510.diff
+
Received on Mon May 10 2010 - 21:18:14 CEST