summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-09-08 11:30:08 +0200
committerEnno Boland (tox) <tox@s01.de>2009-09-08 11:30:08 +0200
commit21ae332817f235ba45e28fe6389abf39308ed93b (patch)
treea02a98dd7531e0b275a37e50d63691b4bb485127 /config.def.h
parent9bd43db63a9bf890cb6ed170796c0dc7002aae8e (diff)
downloadtabbed-21ae332817f235ba45e28fe6389abf39308ed93b.tar.gz
tabbed works.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index 5b436ee..c785751 100644
--- a/config.def.h
+++ b/config.def.h
@@ -3,13 +3,14 @@ static const char normbgcolor[] = "#202020";
static const char normfgcolor[] = "#c0c0c0";
static const char selbgcolor[] = "#884400";
static const char selfgcolor[] = "#f0f0f0";
+static const int tabwidth = 200;
-#define SURF "surf", "-x"
+#define EXEC "surf", "-x"
#define MODKEY ControlMask
Key keys[] = { \
/* modifier key function argument */
- { MODKEY|ShiftMask, XK_Return, spawntab, { .v = (char*[]){ SURF, NULL} } },
- { MODKEY|ShiftMask, XK_t, spawntab, { .v = (char*[]){ SURF, NULL} } },
+ { MODKEY|ShiftMask, XK_Return, spawntab, { .v = (char*[]){ EXEC, NULL} } },
+ { MODKEY|ShiftMask, XK_t, spawntab, { .v = (char*[]){ EXEC, NULL} } },
{ MODKEY|ShiftMask, XK_l, rotate, { .i = +1 } },
{ MODKEY|ShiftMask, XK_h, rotate, { .i = -1 } },
{ MODKEY, XK_1, move, { .i = 1 } },
@@ -24,3 +25,8 @@ Key keys[] = { \
{ MODKEY, XK_0, move, { .i = 10 } },
{ MODKEY, XK_q, killclient, { 0 } },
};
+
+Autostart autostarts[] = { \
+ /* function argument */
+ { spawntab, { .v = (char*[]){ EXEC, NULL} } },
+};