comparison config.default.h @ 191:56fee1dc9d53

switched to regexp matching for Rules
author arg@10ksloc.org
date Fri, 04 Aug 2006 14:40:32 +0200
parents 713dcc7d2c42
children 60e73ebaab27
comparison
equal deleted inserted replaced
190:713dcc7d2c42 191:56fee1dc9d53
45 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ 45 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \
46 { MODKEY|ShiftMask, XK_Return, spawn, { .cmd = "exec xterm" } }, \ 46 { MODKEY|ShiftMask, XK_Return, spawn, { .cmd = "exec xterm" } }, \
47 }; 47 };
48 48
49 #define RULES \ 49 #define RULES \
50 const unsigned int two[] = { 2 }; \
51 static Rule rule[] = { \ 50 static Rule rule[] = { \
52 /* class:instance tags isfloat */ \ 51 /* class:instance regex tags regex isfloat */ \
53 { "Firefox.*", two, False }, \ 52 { "Firefox.*", "2", False }, \
54 { "Gimp.*", NULL, True}, \ 53 { "Gimp.*", NULL, True}, \
55 }; 54 };