summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-10-26 16:50:38 +0100
committerEnno Boland (tox) <tox@s01.de>2009-10-26 16:50:38 +0100
commit89622e41b248eb18ee7b36aa3f95f9eb4b4ad4a0 (patch)
tree041f7311192a74122fa186ce492a66e7d755e223 /config.def.h
parent9f9e39604dc3dbcc8b6b56b421a110548ec608fb (diff)
downloadtabbed-89622e41b248eb18ee7b36aa3f95f9eb4b4ad4a0.tar.gz
code cleaning, windows are properly closed on exit; if last client quits, exit
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index 840254a..c0eee1b 100644
--- a/config.def.h
+++ b/config.def.h
@@ -7,12 +7,10 @@ static const int tabwidth = 200;
static const char before[] = "<";
static const char after[] = ">";
-#define EXEC "surf", "-e", winid
#define MODKEY ControlMask
static Key keys[] = { \
/* modifier key function argument */
- { MODKEY|ShiftMask, XK_Return, spawn, { .v = (char*[]){ EXEC, NULL} } },
- { MODKEY|ShiftMask, XK_t, spawn, { .v = (char*[]){ EXEC, NULL} } },
+ { MODKEY|ShiftMask, XK_Return, spawn, { .v = (char*[]){ "surf", "-e", winid, NULL} } },
{ MODKEY|ShiftMask, XK_l, rotate, { .i = +1 } },
{ MODKEY|ShiftMask, XK_h, rotate, { .i = -1 } },
{ MODKEY, XK_1, move, { .i = 1 } },