diff options
| -rw-r--r-- | config.def.h | 3 | ||||
| -rw-r--r-- | config.mk | 2 | ||||
| -rw-r--r-- | dwm.c | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h index e8ab532..fd37293 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | 13 | ||
| 14 | /* tagging */ | 14 | /* tagging */ |
| 15 | 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" }; |
| 16 | #define NTAGS (sizeof tags / sizeof tags[0]) | ||
| 17 | Bool seltags[NTAGS] = {[0] = True}; | ||
| 18 | Bool prevtags[NTAGS] = {[0] = True}; | ||
| 16 | Rule rules[] = { | 19 | Rule rules[] = { |
| 17 | /* class:instance:title regex tags regex isfloating */ | 20 | /* class:instance:title regex tags regex isfloating */ |
| 18 | { "Firefox", "www", False }, | 21 | { "Firefox", "www", False }, |
| @@ -1,5 +1,5 @@ | |||
| 1 | # dwm version | 1 | # dwm version |
| 2 | VERSION = 4.6 | 2 | VERSION = 4.7 |
| 3 | 3 | ||
| 4 | # Customize below to fit your system | 4 | # Customize below to fit your system |
| 5 | 5 | ||
| @@ -232,10 +232,6 @@ Regs *regs = NULL; | |||
| 232 | /* configuration, allows nested code to access above variables */ | 232 | /* configuration, allows nested code to access above variables */ |
| 233 | #include "config.h" | 233 | #include "config.h" |
| 234 | 234 | ||
| 235 | #define NTAGS (sizeof tags / sizeof tags[0]) | ||
| 236 | Bool seltags[NTAGS] = {[0] = True}; | ||
| 237 | Bool prevtags[NTAGS] = {[0] = True}; | ||
| 238 | |||
| 239 | /* function implementations */ | 235 | /* function implementations */ |
| 240 | void | 236 | void |
| 241 | applyrules(Client *c) { | 237 | applyrules(Client *c) { |
