added sample command to config.default.h to highlight how to query class:instance info with a one-liner of shell commands
56130c36
1 file(s) · +2 −0
| 48 | 48 | { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ |
|
| 49 | 49 | }; |
|
| 50 | 50 | ||
| 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) }' */ |
|
| 51 | 53 | #define RULES \ |
|
| 52 | 54 | static Rule rule[] = { \ |
|
| 53 | 55 | /* class:instance regex tags regex isfloat */ \ |