summaryrefslogtreecommitdiff
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 @@
/* 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 },
diff --git a/config.mk b/config.mk
index 9944f2a..b3fe193 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
# dwm version
-VERSION = 4.6
+VERSION = 4.7
# Customize below to fit your system
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;
/* configuration, allows nested code to access above variables */
#include "config.h"
-#define NTAGS (sizeof tags / sizeof tags[0])
-Bool seltags[NTAGS] = {[0] = True};
-Bool prevtags[NTAGS] = {[0] = True};
-
/* function implementations */
void
applyrules(Client *c) {