all repos — dwm @ 2d7f59424c1b3974c3093cb800326437df7caa94

my dwm build

simplifying regexps in config samples
Anselm R. Garbe arg@suckless.org
Wed, 14 Feb 2007 09:31:23 +0100
commit

2d7f59424c1b3974c3093cb800326437df7caa94

parent

e256afe31ef6a70eceb632ddfe717bfe6d8d9169

2 files changed, 7 insertions(+), 7 deletions(-)

jump to
M config.arg.hconfig.arg.h

@@ -87,8 +87,8 @@

#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 }, \ };
M config.default.hconfig.default.h

@@ -84,7 +84,7 @@ * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */

#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 }, \ };