Explorar o código

added sample command to config.default.h to highlight how to query class:instance info with a one-liner of shell commands

Anselm R.Garbe %!s(int64=19) %!d(string=hai) anos
pai
achega
56130c3689
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      config.default.h

+ 2 - 0
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 */ \