tapplied the shorter xprop command - dwm - [fork] customized build of dwm, the dynamic window manager
HTML git clone git://src.adamsgaard.dk/dwm
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit a420ceab50b896a6b6edc81c2a42c4ddc75b867e
DIR parent 0e1c649dca9a076ab6c011565467f4e7cacfbfd4
HTML Author: Anselm R.Garbe <arg@10ksloc.org>
Date: Thu, 17 Aug 2006 09:44:17 +0200
applied the shorter xprop command
Diffstat:
M config.default.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/config.default.h b/config.default.h
t@@ -49,7 +49,7 @@ static Key key[] = { \
};
/* 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 */ \