aboutsummaryrefslogtreecommitdiffstats
path: root/config.default.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-08-23 12:08:37 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-08-23 12:08:37 +0200
commitd6a6eca71d760fb3b61e35b187b9b9fd51092c71 (patch)
tree40416b29fb7df46aa8f35a4201a49dd73d66840b /config.default.h
parent39ffc18635686b1a65cd80d19828c4fe2aed982f (diff)
downloaddwm-d6a6eca71d760fb3b61e35b187b9b9fd51092c71.tar.zst
implemented class:inst:title matching
Diffstat (limited to 'config.default.h')
-rw-r--r--config.default.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.default.h b/config.default.h
index 453da71..c0102b0 100644
--- a/config.default.h
+++ b/config.default.h
@@ -47,11 +47,11 @@ static Key key[] = { \
{ MODKEY|ShiftMask, XK_q, quit, { 0 } }, \
};
-/* Query class:instance for regex matching info with following command:
- * xprop | awk -F'"' '/^WM_CLASS/ { printf "%s:%s\n", $4, $2 }'*/
+/* Query class:instance:title for regex matching info with following command:
+ * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/{ printf("%s\n",$2) }' */
#define RULES \
static Rule rule[] = { \
- /* class:instance regex tags regex isfloat */ \
+ /* class:instance:title regex tags regex isfloat */ \
{ "Firefox.*", "2", False }, \
{ "Gimp.*", NULL, True}, \
};