dwm-meillo
diff config.default.h @ 304:06dfbb8d1886
added sample command to config.default.h to highlight how to query class:instance info with a one-liner of shell commands
author | Anselm R.Garbe <arg@10ksloc.org> |
---|---|
date | Wed, 16 Aug 2006 15:00:14 +0200 |
parents | 093744cc5353 |
children | f7978c6395f5 |
line diff
1.1 --- a/config.default.h Wed Aug 16 12:36:32 2006 +0200 1.2 +++ b/config.default.h Wed Aug 16 15:00:14 2006 +0200 1.3 @@ -48,6 +48,8 @@ 1.4 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ 1.5 }; 1.6 1.7 +/* Query class:instance for regex matching info with following command: 1.8 + * ; xprop | grep WM_CLASS | sed 's/"//g;s/,//g' | awk '{ printf("%s:%s", $4, $3) }' */ 1.9 #define RULES \ 1.10 static Rule rule[] = { \ 1.11 /* class:instance regex tags regex isfloat */ \