summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-14 09:31:23 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-14 09:31:23 +0100
commit2d7f59424c1b3974c3093cb800326437df7caa94 (patch)
treed87b04832fb3724175e115a3fd68237b6c441a62
parentmade for/if/else constructs more consistent, some code polishing (diff)
downloaddwm-2d7f59424c1b3974c3093cb800326437df7caa94.tar.gz
dwm-2d7f59424c1b3974c3093cb800326437df7caa94.zip
simplifying regexps in config samples
-rw-r--r--config.arg.h8
-rw-r--r--config.default.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/config.arg.h b/config.arg.h
index db18df2..2b94fd6 100644
--- a/config.arg.h
+++ b/config.arg.h
@@ -87,8 +87,8 @@ static Key key[] = { \
87#define RULES \ 87#define RULES \
88static Rule rule[] = { \ 88static Rule rule[] = { \
89 /* class:instance:title regex tags regex isfloat */ \ 89 /* class:instance:title regex tags regex isfloat */ \
90 { "Firefox.*", "3", False }, \ 90 { "Firefox", "3", False }, \
91 { "Gimp.*", NULL, True }, \ 91 { "Gimp", NULL, True }, \
92 { "MPlayer.*", NULL, True }, \ 92 { "MPlayer", NULL, True }, \
93 { "Acroread.*", NULL, True }, \ 93 { "Acroread", NULL, True }, \
94}; 94};
diff --git a/config.default.h b/config.default.h
index 49e45c2..b8654bd 100644
--- a/config.default.h
+++ b/config.default.h
@@ -84,7 +84,7 @@ static Key key[] = { \
84#define RULES \ 84#define RULES \
85static Rule rule[] = { \ 85static Rule rule[] = { \
86 /* class:instance:title regex tags regex isfloat */ \ 86 /* class:instance:title regex tags regex isfloat */ \
87 { "Gimp.*", NULL, True }, \ 87 { "Gimp", NULL, True }, \
88 { "MPlayer.*", NULL, True }, \ 88 { "MPlayer", NULL, True }, \
89 { "Acroread.*", NULL, True }, \ 89 { "Acroread", NULL, True }, \
90}; 90};