changeset 312:8373e295cb04

applied the shorter xprop command
author Anselm R.Garbe <arg@10ksloc.org>
date Thu, 17 Aug 2006 09:44:17 +0200
parents 099c595c53e6
children 8b109976c594
files config.default.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 */ \