dwm-meillo
diff config.default.h @ 312:8373e295cb04
applied the shorter xprop command
author | Anselm R.Garbe <arg@10ksloc.org> |
---|---|
date | Thu, 17 Aug 2006 09:44:17 +0200 |
parents | f7978c6395f5 |
children | 73efaa15a635 |
line diff
1.1 --- a/config.default.h Thu Aug 17 09:37:43 2006 +0200 1.2 +++ b/config.default.h Thu Aug 17 09:44:17 2006 +0200 1.3 @@ -49,7 +49,7 @@ 1.4 }; 1.5 1.6 /* Query class:instance for regex matching info with following command: 1.7 - * xprop | grep WM_CLASS | sed 's/"//g;s/,//g' | awk '{ printf("%s:%s", $4, $3) }' */ 1.8 + * xprop | awk -F'"' '/^WM_CLASS/ { printf "%s:%s\n", $4, $2 }'*/ 1.9 #define RULES \ 1.10 static Rule rule[] = { \ 1.11 /* class:instance regex tags regex isfloat */ \