JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
switched to regexp matching for Rules
[dwm.git] / config.arg.h
index 4297376..d391f9e 100644 (file)
@@ -52,11 +52,10 @@ static Key key[] = { \
 };
 
 #define RULES \
-       const unsigned int two[] = { 2 }; \
 static Rule rule[] = { \
-       /* class:instance       tags            isfloat */ \
-       { "Firefox.*",          two,            False }, \
-       { "Gimp.*",             NULL,           True}, \
-       { "MPlayer.*",          NULL,           True}, \
-       { "Acroread.*",         NULL,           True}, \
+       /* class:instance regex         tags regex      isfloat */ \
+       { "Firefox.*",                  "net",          False }, \
+       { "Gimp.*",                     NULL,           True}, \
+       { "MPlayer.*",                  NULL,           True}, \
+       { "Acroread.*",                 NULL,           True}, \
 };