summaryrefslogtreecommitdiffstats
path: root/config.anselm.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.anselm.h37
1 files changed, 20 insertions, 17 deletions
diff --git a/config.anselm.h b/config.anselm.h
index aef5947..09cccd1 100644
--- a/config.anselm.h
+++ b/config.anselm.h
@@ -14,24 +14,15 @@
14const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; 14const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
15 15
16Rule rules[] = { 16Rule rules[] = {
17 /* class:instance:title substr tags ref isfloating */ 17 /* class instance title tags ref isfloating */
18 { "Firefox", tags[8], False }, 18 { NULL, NULL, "Firefox", tags[8], False },
19 { "Gimp", NULL, True }, 19 { NULL, NULL, "Gimp", NULL, True },
20 { "MPlayer", NULL, True }, 20 { NULL, NULL, "MPlayer", NULL, True },
21 { "Acroread", NULL, True }, 21 { NULL, NULL, "Acroread", NULL, True },
22}; 22};
23 23
24/* layout(s) */ 24/* geometry function */
25#define RESIZEHINTS True /* False - respect size hints in tiled resizals */ 25void (*setgeoms)(void) = setdefgeoms;
26#define SNAP 32 /* snap pixel */
27
28Layout layouts[] = {
29 /* symbol function isfloating */
30 { "[]|", tileh, False }, /* first entry is default */
31 { "[]=", tilev, False },
32 { "><>", floating, True },
33 { "[M]", monocle, True },
34};
35 26
36void 27void
37setanselmgeoms(void) { 28setanselmgeoms(void) {
@@ -83,12 +74,24 @@ anselmgeoms(const char *arg) {
83 74
84void 75void
85defgeoms(const char *arg) { 76defgeoms(const char *arg) {
86 setgeoms = setdefaultgeoms; 77 setgeoms = setdefgeoms;
87 setgeoms(); 78 setgeoms();
88 updatebarpos(); 79 updatebarpos();
89 setlayout("[]="); 80 setlayout("[]=");
90} 81}
91 82
83/* layout(s) */
84#define RESIZEHINTS True /* False - respect size hints in tiled resizals */
85#define SNAP 32 /* snap pixel */
86
87Layout layouts[] = {
88 /* symbol function isfloating */
89 { "[]|", tileh, False }, /* first entry is default */
90 { "[]=", tilev, False },
91 { "><>", floating, True },
92 { "[M]", monocle, True },
93};
94
92/* key definitions */ 95/* key definitions */
93#define MODKEY Mod1Mask 96#define MODKEY Mod1Mask
94Key keys[] = { 97Key keys[] = {