Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replaced ISTILE with domwfact/dozoom bools, removed nrules, nlayouts and ltidx, added...
[dwm.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
e8ab532
..
2813b3f
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-13,6
+13,9
@@
/* tagging */
const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" };
/* tagging */
const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" };
+#define NTAGS (sizeof tags / sizeof tags[0])
+Bool seltags[NTAGS] = {[0] = True};
+Bool prevtags[NTAGS] = {[0] = True};
Rule rules[] = {
/* class:instance:title regex tags regex isfloating */
{ "Firefox", "www", False },
Rule rules[] = {
/* class:instance:title regex tags regex isfloating */
{ "Firefox", "www", False },
@@
-20,9
+23,9
@@
Rule rules[] = {
{ "MPlayer", NULL, True },
{ "Acroread", NULL, True },
};
{ "MPlayer", NULL, True },
{ "Acroread", NULL, True },
};
+#define NRULES (sizeof rules / sizeof rules[0])
/* layout(s) */
/* layout(s) */
-#define ISTILE isarrange(tile) /* || isarrange(<custom>) */
#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */
#define SNAP 32 /* snap pixel */
Layout layouts[] = {
#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */
#define SNAP 32 /* snap pixel */
Layout layouts[] = {
@@
-30,6
+33,7
@@
Layout layouts[] = {
{ "[]=", tile }, /* first entry is default */
{ "><>", floating },
};
{ "[]=", tile }, /* first entry is default */
{ "><>", floating },
};
+#define NLAYOUTS (sizeof layouts / sizeof layouts[0])
/* key definitions */
#define MODKEY Mod1Mask
/* key definitions */
#define MODKEY Mod1Mask
@@
-91,3
+95,4
@@
Key keys[] = { \
{ MODKEY|ControlMask|ShiftMask, XK_9, toggletag, tags[8] }, \
{ MODKEY|ShiftMask, XK_q, quit, NULL }, \
};
{ MODKEY|ControlMask|ShiftMask, XK_9, toggletag, tags[8] }, \
{ MODKEY|ShiftMask, XK_q, quit, NULL }, \
};
+#define NKEYS (sizeof keys / sizeof keys[0])