summaryrefslogtreecommitdiff
path: root/config.default.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.default.h')
-rw-r--r--config.default.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/config.default.h b/config.default.h
index c1274a12..c3189738 100644
--- a/config.default.h
+++ b/config.default.h
@@ -5,9 +5,12 @@
#define TAGS \
const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };
-#define DEFMODE dotile /* dofloat */
-#define FLOATSYMBOL "><>"
-#define TILESYMBOL "[]="
+#define LAYOUTS \
+Layout layout[] = { \
+ /* symbol function */ \
+ { "[]=", dotile }, /* first entry is default */ \
+ { "><>", dofloat }, \
+};
#define BORDERPX 1
#define FONT "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*"
@@ -55,7 +58,7 @@ static Key key[] = { \
{ MODKEY|ControlMask|ShiftMask, XK_8, toggletag, { .i = 7 } }, \
{ MODKEY|ControlMask|ShiftMask, XK_9, toggletag, { .i = 8 } }, \
{ MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \
- { MODKEY, XK_space, togglemode, { 0 } }, \
+ { MODKEY, XK_space, togglelayout, { 0 } }, \
{ MODKEY|ShiftMask, XK_space, togglefloat, { 0 } }, \
{ MODKEY, XK_0, view, { .i = -1 } }, \
{ MODKEY, XK_1, view, { .i = 0 } }, \