added sample command to config.default.h to highlight how to query class:instance info with a one-liner of shell commands
Anselm R.Garbe arg@10ksloc.org
Wed, 16 Aug 2006 15:00:14 +0200
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
config.default.h
→
config.default.h
@@ -48,6 +48,8 @@ { MODKEY|ControlMask, XK_4, toggleview, { .i = 4 } }, \
{ MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ }; +/* Query class:instance for regex matching info with following command: + * ; xprop | grep WM_CLASS | sed 's/"//g;s/,//g' | awk '{ printf("%s:%s", $4, $3) }' */ #define RULES \ static Rule rule[] = { \ /* class:instance regex tags regex isfloat */ \