dwm-meillo

diff config.default.h @ 336:2a65e8b3d21a

implemented class:inst:title matching
author Anselm R. Garbe <arg@10kloc.org>
date Wed, 23 Aug 2006 12:08:37 +0200
parents aca8281c7415
children b10852dbbffe
line diff
     1.1 --- a/config.default.h	Wed Aug 23 12:03:25 2006 +0200
     1.2 +++ b/config.default.h	Wed Aug 23 12:08:37 2006 +0200
     1.3 @@ -47,11 +47,11 @@
     1.4  	{ MODKEY|ShiftMask,		XK_q,		quit,		{ 0 } }, \
     1.5  };
     1.6  
     1.7 -/* Query class:instance for regex matching info with following command:
     1.8 - * xprop | awk -F'"' '/^WM_CLASS/ { printf "%s:%s\n", $4, $2 }'*/
     1.9 +/* Query class:instance:title for regex matching info with following command:
    1.10 + * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/{ printf("%s\n",$2) }' */
    1.11  #define RULES \
    1.12  static Rule rule[] = { \
    1.13 -	/* class:instance regex		tags regex	isfloat */ \
    1.14 +	/* class:instance:title regex	tags regex	isfloat */ \
    1.15  	{ "Firefox.*",			"2",		False }, \
    1.16  	{ "Gimp.*",			NULL,		True}, \
    1.17  };