comparison config.h @ 767:706991d15451

removed rexexp for old strstr matching; simplifications
author meillo@marmaro.de
date Fri, 05 Dec 2008 20:50:31 +0100
parents 3f7c68a720b5
children 49aa8ccceefa
comparison
equal deleted inserted replaced
766:3f7c68a720b5 767:706991d15451
41 41
42 /* Query class:instance:title for regex matching info with following command: 42 /* Query class:instance:title for regex matching info with following command:
43 * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */ 43 * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
44 #define RULES \ 44 #define RULES \
45 static Rule rule[] = { \ 45 static Rule rule[] = { \
46 /* class:instance:title regex, tag (1=tag/0=untag/-1=curr), isfloat */ \ 46 /* class, instance, title, tag (1=tag/0=untag/-1=curr), isfloat */ \
47 { "URxvt.*", 0, False }, \ 47 { "URxvt", NULL, NULL, 0, False }, \
48 { "MPlayer.*", -1, True }, \ 48 { "urxvt", NULL, NULL, 0, False }, \
49 { "qiv.*", -1, False }, \ 49 { "MPlayer", NULL, NULL, -1, True }, \
50 { "Gimp.*", 1, True }, \ 50 { NULL, "qiv", NULL, -1, False }, \
51 { ".*", 1, False }, \ 51 { "Gimp", NULL, NULL, 1, True }, \
52 { "", "", "", 1, False }, \
52 }; 53 };