diff options
| author | arg@10ksloc.org <unknown> | 2006-08-04 14:40:32 +0200 |
|---|---|---|
| committer | arg@10ksloc.org <unknown> | 2006-08-04 14:40:32 +0200 |
| commit | e21d93b7bd5d34f31bc09a576b7d449df5b68c07 (patch) | |
| tree | fb5a123126b80d8cb9480aaec8c320fecfc2fec4 /config.arg.h | |
| parent | fixed a bug in dmenu call (diff) | |
| download | dwm-e21d93b7bd5d34f31bc09a576b7d449df5b68c07.tar.gz dwm-e21d93b7bd5d34f31bc09a576b7d449df5b68c07.zip | |
switched to regexp matching for Rules
Diffstat (limited to 'config.arg.h')
| -rw-r--r-- | config.arg.h | 11 |
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[] = { \ | |||
| 52 | }; | 52 | }; |
| 53 | 53 | ||
| 54 | #define RULES \ | 54 | #define RULES \ |
| 55 | const unsigned int two[] = { 2 }; \ | ||
| 56 | static Rule rule[] = { \ | 55 | static Rule rule[] = { \ |
| 57 | /* class:instance tags isfloat */ \ | 56 | /* class:instance regex tags regex isfloat */ \ |
| 58 | { "Firefox.*", two, False }, \ | 57 | { "Firefox.*", "net", False }, \ |
| 59 | { "Gimp.*", NULL, True}, \ | 58 | { "Gimp.*", NULL, True}, \ |
| 60 | { "MPlayer.*", NULL, True}, \ | 59 | { "MPlayer.*", NULL, True}, \ |
| 61 | { "Acroread.*", NULL, True}, \ | 60 | { "Acroread.*", NULL, True}, \ |
| 62 | }; | 61 | }; |
