47 { MODKEY|ControlMask, XK_4, toggleview, { .i = 4 } }, \ |
47 { MODKEY|ControlMask, XK_4, toggleview, { .i = 4 } }, \ |
48 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ |
48 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ |
49 }; |
49 }; |
50 |
50 |
51 /* Query class:instance for regex matching info with following command: |
51 /* Query class:instance for regex matching info with following command: |
52 * ; xprop | grep WM_CLASS | sed 's/"//g;s/,//g' | awk '{ printf("%s:%s", $4, $3) }' */ |
52 * xprop | grep WM_CLASS | sed 's/"//g;s/,//g' | awk '{ printf("%s:%s", $4, $3) }' */ |
53 #define RULES \ |
53 #define RULES \ |
54 static Rule rule[] = { \ |
54 static Rule rule[] = { \ |
55 /* class:instance regex tags regex isfloat */ \ |
55 /* class:instance regex tags regex isfloat */ \ |
56 { "Firefox.*", "2", False }, \ |
56 { "Firefox.*", "2", False }, \ |
57 { "Gimp.*", NULL, True}, \ |
57 { "Gimp.*", NULL, True}, \ |