summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.def.h3
-rw-r--r--config.mk2
-rw-r--r--dwm.c4
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 */
15const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" }; 15const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" };
16#define NTAGS (sizeof tags / sizeof tags[0])
17Bool seltags[NTAGS] = {[0] = True};
18Bool prevtags[NTAGS] = {[0] = True};
16Rule rules[] = { 19Rule 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 },
diff --git a/config.mk b/config.mk
index 9944f2a..b3fe193 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
1# dwm version 1# dwm version
2VERSION = 4.6 2VERSION = 4.7
3 3
4# Customize below to fit your system 4# Customize below to fit your system
5 5
diff --git a/dwm.c b/dwm.c
index 487fafb..72af32f 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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])
236Bool seltags[NTAGS] = {[0] = True};
237Bool prevtags[NTAGS] = {[0] = True};
238
239/* function implementations */ 235/* function implementations */
240void 236void
241applyrules(Client *c) { 237applyrules(Client *c) {