diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-14 09:31:23 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-14 09:31:23 +0100 |
| commit | 2d7f59424c1b3974c3093cb800326437df7caa94 (patch) | |
| tree | d87b04832fb3724175e115a3fd68237b6c441a62 | |
| parent | made for/if/else constructs more consistent, some code polishing (diff) | |
| download | dwm-2d7f59424c1b3974c3093cb800326437df7caa94.tar.gz dwm-2d7f59424c1b3974c3093cb800326437df7caa94.zip | |
simplifying regexps in config samples
Diffstat (limited to '')
| -rw-r--r-- | config.arg.h | 8 | ||||
| -rw-r--r-- | config.default.h | 6 |
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 \ |
| 88 | static Rule rule[] = { \ | 88 | static 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 \ |
| 85 | static Rule rule[] = { \ | 85 | static 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 | }; |
