applied the shorter xprop command
Anselm R.Garbe arg@10ksloc.org
Thu, 17 Aug 2006 09:44:17 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
config.default.h
→
config.default.h
@@ -49,7 +49,7 @@ { 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) }' */ + * xprop | awk -F'"' '/^WM_CLASS/ { printf "%s:%s\n", $4, $2 }'*/ #define RULES \ static Rule rule[] = { \ /* class:instance regex tags regex isfloat */ \