going toward 4.7
93eee247
3 file(s) · +4 −5
| 13 | 13 | ||
| 14 | 14 | /* tagging */ |
|
| 15 | 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 | 19 | Rule rules[] = { |
|
| 17 | 20 | /* class:instance:title regex tags regex isfloating */ |
|
| 18 | 21 | { "Firefox", "www", False }, |
| 1 | 1 | # dwm version |
|
| 2 | - | VERSION = 4.6 |
|
| 2 | + | VERSION = 4.7 |
|
| 3 | 3 | ||
| 4 | 4 | # Customize below to fit your system |
|
| 5 | 5 |
| 232 | 232 | /* configuration, allows nested code to access above variables */ |
|
| 233 | 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 | 235 | /* function implementations */ |
|
| 240 | 236 | void |
|
| 241 | 237 | applyrules(Client *c) { |