1
0

applied the shorter xprop command

This commit is contained in:
Anselm R.Garbe 2006-08-17 09:44:17 +02:00
parent 0e1c649dca
commit a420ceab50

View File

@ -49,7 +49,7 @@ static Key key[] = { \
}; };
/* Query class:instance for regex matching info with following command: /* 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 \ #define RULES \
static Rule rule[] = { \ static Rule rule[] = { \
/* class:instance regex tags regex isfloat */ \ /* class:instance regex tags regex isfloat */ \