# HG changeset patch # User Anselm R.Garbe # Date 1155800657 -7200 # Node ID 8373e295cb04e404c11422eea6cf5b71eb90dfe1 # Parent 099c595c53e6d259f53141057e671d2a832719ac applied the shorter xprop command diff -r 099c595c53e6 -r 8373e295cb04 config.default.h --- a/config.default.h Thu Aug 17 09:37:43 2006 +0200 +++ b/config.default.h Thu Aug 17 09:44:17 2006 +0200 @@ -49,7 +49,7 @@ }; /* 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 */ \