summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-09-08 00:06:46 +0200
committerEnno Boland (tox) <tox@s01.de>2009-09-08 00:06:46 +0200
commit92571a0887b28bb17f40d3352a6b8f2526575298 (patch)
treec6ba2cb26a4157cf82e0de5ee874c21ee501eac6 /config.def.h
parentef13e9be81e52c845314a49b2ac77690b8a35429 (diff)
implementing spawntab(), rewriting run()
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index 22a51f8..5b436ee 100644
--- a/config.def.h
+++ b/config.def.h
@@ -3,13 +3,13 @@ static const char normbgcolor[] = "#202020";
static const char normfgcolor[] = "#c0c0c0";
static const char selbgcolor[] = "#884400";
static const char selfgcolor[] = "#f0f0f0";
-static const char *surfexec[] = { "surf", "-x" };
+#define SURF "surf", "-x"
#define MODKEY ControlMask
Key keys[] = { \
/* modifier key function argument */
- { MODKEY|ShiftMask, XK_Return, newtab, { 0 } },
- { MODKEY, XK_t, newtab, { 0 } },
+ { MODKEY|ShiftMask, XK_Return, spawntab, { .v = (char*[]){ SURF, NULL} } },
+ { MODKEY|ShiftMask, XK_t, spawntab, { .v = (char*[]){ SURF, NULL} } },
{ MODKEY|ShiftMask, XK_l, rotate, { .i = +1 } },
{ MODKEY|ShiftMask, XK_h, rotate, { .i = -1 } },
{ MODKEY, XK_1, move, { .i = 1 } },