diff options
| author | arg@suckless.org <unknown> | 2007-11-07 09:49:53 +0100 |
|---|---|---|
| committer | arg@suckless.org <unknown> | 2007-11-07 09:49:53 +0100 |
| commit | 198502f41dc3c436b73215f5e2a6b58b050ecfce (patch) | |
| tree | 6000b2bed57b5f560c8fa8261cd8a1f81fc72a6e /config.def.h | |
| parent | we check variable == value, and not the other way - the other way is for begi... (diff) | |
| download | dwm-198502f41dc3c436b73215f5e2a6b58b050ecfce.tar.gz dwm-198502f41dc3c436b73215f5e2a6b58b050ecfce.zip | |
moved LENGTH to dwm.c, moved prevtags to dwm.c
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h index 9714129..b437a0e 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -11,13 +11,9 @@ | |||
| 11 | #define SELBGCOLOR "#0066ff" | 11 | #define SELBGCOLOR "#0066ff" |
| 12 | #define SELFGCOLOR "#ffffff" | 12 | #define SELFGCOLOR "#ffffff" |
| 13 | 13 | ||
| 14 | /* convenience */ | ||
| 15 | #define LENGTH(x) (sizeof x / sizeof x[0]) | ||
| 16 | |||
| 17 | /* tagging */ | 14 | /* tagging */ |
| 18 | const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" }; | 15 | const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" }; |
| 19 | Bool seltags[LENGTH(tags)] = {[0] = True}; | 16 | Bool seltags[LENGTH(tags)] = {[0] = True}; |
| 20 | Bool prevtags[LENGTH(tags)] = {[0] = True}; | ||
| 21 | Rule rules[] = { | 17 | Rule rules[] = { |
| 22 | /* class:instance:title regex tags regex isfloating */ | 18 | /* class:instance:title regex tags regex isfloating */ |
| 23 | { "Firefox", "www", False }, | 19 | { "Firefox", "www", False }, |
