Mercurial > aewl
comparison config.default.h @ 336:2a65e8b3d21a
implemented class:inst:title matching
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Wed, 23 Aug 2006 12:08:37 +0200 |
parents | aca8281c7415 |
children | b10852dbbffe |
comparison
equal
deleted
inserted
replaced
335:aca8281c7415 | 336:2a65e8b3d21a |
---|---|
45 { MODKEY|ControlMask, XK_4, toggleview, { .i = 3 } }, \ | 45 { MODKEY|ControlMask, XK_4, toggleview, { .i = 3 } }, \ |
46 { MODKEY|ControlMask, XK_5, toggleview, { .i = 4 } }, \ | 46 { MODKEY|ControlMask, XK_5, toggleview, { .i = 4 } }, \ |
47 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ | 47 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ |
48 }; | 48 }; |
49 | 49 |
50 /* Query class:instance for regex matching info with following command: | 50 /* Query class:instance:title for regex matching info with following command: |
51 * xprop | awk -F'"' '/^WM_CLASS/ { printf "%s:%s\n", $4, $2 }'*/ | 51 * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/{ printf("%s\n",$2) }' */ |
52 #define RULES \ | 52 #define RULES \ |
53 static Rule rule[] = { \ | 53 static Rule rule[] = { \ |
54 /* class:instance regex tags regex isfloat */ \ | 54 /* class:instance:title regex tags regex isfloat */ \ |
55 { "Firefox.*", "2", False }, \ | 55 { "Firefox.*", "2", False }, \ |
56 { "Gimp.*", NULL, True}, \ | 56 { "Gimp.*", NULL, True}, \ |
57 }; | 57 }; |