From: Anselm R. Garbe Date: Wed, 14 Feb 2007 08:31:23 +0000 (+0100) Subject: simplifying regexps in config samples X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=2d7f59424c1b3974c3093cb800326437df7caa94 simplifying regexps in config samples --- 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[] = { \ #define RULES \ static Rule rule[] = { \ /* class:instance:title regex tags regex isfloat */ \ - { "Firefox.*", "3", False }, \ - { "Gimp.*", NULL, True }, \ - { "MPlayer.*", NULL, True }, \ - { "Acroread.*", NULL, True }, \ + { "Firefox", "3", False }, \ + { "Gimp", NULL, True }, \ + { "MPlayer", NULL, True }, \ + { "Acroread", NULL, True }, \ }; 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[] = { \ #define RULES \ static Rule rule[] = { \ /* class:instance:title regex tags regex isfloat */ \ - { "Gimp.*", NULL, True }, \ - { "MPlayer.*", NULL, True }, \ - { "Acroread.*", NULL, True }, \ + { "Gimp", NULL, True }, \ + { "MPlayer", NULL, True }, \ + { "Acroread", NULL, True }, \ };