JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed DEFTAG
[dwm.git] / config.default.h
index 7e9b7ef..fd9ada6 100644 (file)
@@ -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 */ \