aewl

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 diff
     1.1 --- a/config.h	Fri Dec 05 19:43:56 2008 +0100
     1.2 +++ b/config.h	Fri Dec 05 20:50:31 2008 +0100
     1.3 @@ -43,10 +43,11 @@
     1.4   * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
     1.5  #define RULES \
     1.6  static Rule rule[] = { \
     1.7 -	/* class:instance:title regex, tag (1=tag/0=untag/-1=curr), isfloat */ \
     1.8 -	{ "URxvt.*",	  	  	0,	    	False }, \
     1.9 -	{ "MPlayer.*",		  	-1,	    	True }, \
    1.10 -	{ "qiv.*",		  	    -1,	    	False }, \
    1.11 -	{ "Gimp.*",	      		1,		True }, \
    1.12 -	{ ".*",		          	1,	    	False }, \
    1.13 +	/* class, instance, title, tag (1=tag/0=untag/-1=curr), isfloat */ \
    1.14 +	{ "URxvt", NULL, NULL,	  	  	0,	    	False }, \
    1.15 +	{ "urxvt", NULL, NULL,	  	  	0,	    	False }, \
    1.16 +	{ "MPlayer", NULL, NULL,	  	-1,	    	True }, \
    1.17 +	{  NULL, "qiv", NULL,	  	    -1,	    	False }, \
    1.18 +	{ "Gimp", NULL, NULL,	      		1,		True }, \
    1.19 +	{ "", "", "",		          	1,	    	False }, \
    1.20  };