X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/56130c36894edd0c730e5c8ee0ac07cad524d176..595028614bc94c1733b28725dcf9777b0a47ad24:/config.default.h

diff --git a/config.default.h b/config.default.h
index 527941c..fd9ada6 100644
--- a/config.default.h
+++ b/config.default.h
@@ -4,10 +4,9 @@
  */
 
 #define TAGS \
-const char *tags[] = { "0", "1", "2", "3", "4", NULL };
+const char *tags[] = { "1", "2", "3", "4", "0", NULL };
 
 #define DEFMODE			dotile /* dofloat */
-#define DEFTAG			1 /* index */
 #define FONT			"fixed"
 #define BGCOLOR			"#666699"
 #define FGCOLOR			"#eeeeee"
@@ -49,7 +48,7 @@ static Key key[] = { \
 };
 
 /* Query class:instance for regex matching info with following command:
- * ; xprop | grep WM_CLASS | sed 's/"//g;s/,//g' | awk '{ printf("%s:%s", $4, $3) }' */
+ * xprop | awk -F'"' '/^WM_CLASS/ { printf "%s:%s\n", $4, $2 }'*/
 #define RULES \
 static Rule rule[] = { \
 	/* class:instance regex		tags regex	isfloat */ \