summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-05-17 14:38:22 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-05-17 14:38:22 +0100
commit4246affc15dd378a33c58504b4abf3893b8c84cc (patch)
treeefb2ce53701e63d53baea3422828e091cee3ab42 /config.def.h
parentremoved tileh, renamed tilev into tile again, removed counttiles, tilemaster (diff)
downloaddwm-4246affc15dd378a33c58504b4abf3893b8c84cc.tar.gz
dwm-4246affc15dd378a33c58504b4abf3893b8c84cc.zip
moved all tile()-related stuff into tile.c which is included from config.def.h, the default dwm is now nearly independent from the arrange() algorithm in use
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/config.def.h b/config.def.h
index 8bd6b69..f35769c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -9,6 +9,7 @@
9#define SELBORDERCOLOR "#0066ff" 9#define SELBORDERCOLOR "#0066ff"
10#define SELBGCOLOR "#0066ff" 10#define SELBGCOLOR "#0066ff"
11#define SELFGCOLOR "#ffffff" 11#define SELFGCOLOR "#ffffff"
12#define SNAP 32 /* snap pixel */
12 13
13/* tagging */ 14/* tagging */
14const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; 15const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
@@ -19,15 +20,14 @@ Rule rules[] = {
19}; 20};
20 21
21/* layout(s) */ 22/* layout(s) */
22#define MFACT 0.55 /* master factor [0.1 .. 0.9] */
23#define RESIZEHINTS True /* False - respect size hints in tiled resizals */ 23#define RESIZEHINTS True /* False - respect size hints in tiled resizals */
24#define SNAP 32 /* snap pixel */ 24#define MFACT 0.55 /* master factor [0.1 .. 0.9] */
25 25#include "tile.c"
26Layout layouts[] = { 26Layout layouts[] = {
27 /* symbol function */ 27 /* symbol arrange geom */
28 { "[]=", tile }, /* first entry is default */ 28 { "[]=", tile, tilegeom }, /* first entry is default */
29 { "><>", NULL }, /* no layout function means floating behavior */ 29 { "><>", NULL, }, /* no layout function means floating behavior */
30 { "<M>", monocle }, /* TODO: remove this */ 30 { "<M>", monocle, NULL }, /* TODO: remove this */
31}; 31};
32 32
33/* key definitions */ 33/* key definitions */