projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e1c649
)
applied the shorter xprop command
author
Anselm R.Garbe
<arg@10ksloc.org>
Thu, 17 Aug 2006 07:44:17 +0000
(09:44 +0200)
committer
Anselm R.Garbe
<arg@10ksloc.org>
Thu, 17 Aug 2006 07:44:17 +0000
(09:44 +0200)
config.default.h
patch
|
blob
|
history
diff --git
a/config.default.h
b/config.default.h
index 7e9b7ef1354aa9ed179c2710c295a96896fcb1c0..387b24fa491dbe4e2d23891eeb91a6d97839608f 100644
(file)
--- a/
config.default.h
+++ b/
config.default.h
@@
-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 */ \