about summary refs log tree commit diff stats
path: root/config.arg.h
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-08-04 14:40:32 +0200
committerarg@10ksloc.org <unknown>2006-08-04 14:40:32 +0200
commite21d93b7bd5d34f31bc09a576b7d449df5b68c07 (patch)
treefb5a123126b80d8cb9480aaec8c320fecfc2fec4 /config.arg.h
parentf504aea13289c7fd25d499d2582558d4e311bfbf (diff)
downloaddwm-e21d93b7bd5d34f31bc09a576b7d449df5b68c07.tar.gz
switched to regexp matching for Rules
Diffstat (limited to 'config.arg.h')
-rw-r--r--config.arg.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/config.arg.h b/config.arg.h
index 4297376..d391f9e 100644
--- a/config.arg.h
+++ b/config.arg.h
@@ -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}, \
 };