diff config.h @ 767:706991d15451

removed rexexp for old strstr matching; simplifications
author meillo@marmaro.de
date Fri, 05 Dec 2008 20:50:31 +0100
parents 3f7c68a720b5
children 49aa8ccceefa
line wrap: on
line diff
--- a/config.h	Fri Dec 05 19:43:56 2008 +0100
+++ b/config.h	Fri Dec 05 20:50:31 2008 +0100
@@ -43,10 +43,11 @@
  * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
 #define RULES \
 static Rule rule[] = { \
-	/* class:instance:title regex, tag (1=tag/0=untag/-1=curr), isfloat */ \
-	{ "URxvt.*",	  	  	0,	    	False }, \
-	{ "MPlayer.*",		  	-1,	    	True }, \
-	{ "qiv.*",		  	    -1,	    	False }, \
-	{ "Gimp.*",	      		1,		True }, \
-	{ ".*",		          	1,	    	False }, \
+	/* class, instance, title, tag (1=tag/0=untag/-1=curr), isfloat */ \
+	{ "URxvt", NULL, NULL,	  	  	0,	    	False }, \
+	{ "urxvt", NULL, NULL,	  	  	0,	    	False }, \
+	{ "MPlayer", NULL, NULL,	  	-1,	    	True }, \
+	{  NULL, "qiv", NULL,	  	    -1,	    	False }, \
+	{ "Gimp", NULL, NULL,	      		1,		True }, \
+	{ "", "", "",		          	1,	    	False }, \
 };