53 { MODKEY|ControlMask, XK_5, toggleview, { .i = 4 } }, \ |
53 { MODKEY|ControlMask, XK_5, toggleview, { .i = 4 } }, \ |
54 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ |
54 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ |
55 }; |
55 }; |
56 |
56 |
57 /* Query class:instance:title for regex matching info with following command: |
57 /* Query class:instance:title for regex matching info with following command: |
58 * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/{ printf("%s\n",$2) }' */ |
58 * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */ |
59 #define RULES \ |
59 #define RULES \ |
60 static Rule rule[] = { \ |
60 static Rule rule[] = { \ |
61 /* class:instance:title regex tags regex isfloat */ \ |
61 /* class:instance:title regex tags regex isfloat */ \ |
62 { "Firefox.*", "2", False }, \ |
62 { "Firefox.*", "2", False }, \ |
63 { "Gimp.*", NULL, True}, \ |
63 { "Gimp.*", NULL, True}, \ |