JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
added sample command to config.default.h to highlight how to query class:instance...
authorAnselm R.Garbe <arg@10ksloc.org>
Wed, 16 Aug 2006 13:00:14 +0000 (15:00 +0200)
committerAnselm R.Garbe <arg@10ksloc.org>
Wed, 16 Aug 2006 13:00:14 +0000 (15:00 +0200)
config.default.h

index 9d99794..527941c 100644 (file)
@@ -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 */ \