summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index ca2d423..e1953c3 100644
--- a/config.def.h
+++ b/config.def.h
@@ -13,6 +13,7 @@ static unsigned int snap = 32; /* snap pixel */
13static Bool showbar = True; /* False means no bar */ 13static Bool showbar = True; /* False means no bar */
14static Bool topbar = True; /* False means bottom bar */ 14static Bool topbar = True; /* False means bottom bar */
15 15
16
16/* tagging */ 17/* tagging */
17static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; 18static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
18static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */ 19static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */
@@ -20,7 +21,8 @@ static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */
20static Rule rules[] = { 21static Rule rules[] = {
21 /* class instance title tags mask isfloating */ 22 /* class instance title tags mask isfloating */
22 { "Gimp", NULL, NULL, 0, True }, 23 { "Gimp", NULL, NULL, 0, True },
23 { "Firefox", NULL, NULL, 1 << 8, True }, 24 { "Firefox", NULL, NULL, 1 << 8, False },
25
24}; 26};
25 27
26/* layout(s) */ 28/* layout(s) */
@@ -68,6 +70,12 @@ static Key keys[] = {
68 { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, 70 { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
69 { MODKEY, XK_0, view, {.ui = ~0 } }, 71 { MODKEY, XK_0, view, {.ui = ~0 } },
70 { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, 72 { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
73#ifdef XINERAMA
74 { MODKEY, XK_w, focusmon, {.ui = 0 } },
75 { MODKEY, XK_e, focusmon, {.ui = 1 } },
76 { MODKEY|ShiftMask, XK_w, tagmon, {.ui = 0 } },
77 { MODKEY|ShiftMask, XK_e, tagmon, {.ui = 1 } },
78#endif /* XINERAMA */
71 TAGKEYS( XK_1, 0) 79 TAGKEYS( XK_1, 0)
72 TAGKEYS( XK_2, 1) 80 TAGKEYS( XK_2, 1)
73 TAGKEYS( XK_3, 2) 81 TAGKEYS( XK_3, 2)