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:
14f7380
)
added sample command to config.default.h to highlight how to query class:instance...
author
Anselm R.Garbe
<arg@10ksloc.org>
Wed, 16 Aug 2006 13:00:14 +0000
(15:00 +0200)
committer
Anselm R.Garbe
<arg@10ksloc.org>
Wed, 16 Aug 2006 13:00:14 +0000
(15:00 +0200)
config.default.h
patch
|
blob
|
history
diff --git
a/config.default.h
b/config.default.h
index 9d99794f1bd224ffcddd7f74ebb8eb94694b369a..527941c22c7ea8224781145c3863feb1808567f7 100644
(file)
--- a/
config.default.h
+++ b/
config.default.h
@@
-48,6
+48,8
@@
static Key key[] = { \
{ MODKEY|ShiftMask, XK_q, quit, { 0 } }, \
};
+/* 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) }' */
#define RULES \
static Rule rule[] = { \
/* class:instance regex tags regex isfloat */ \