| tadded sample command to config.default.h to highlight how to query class:insta… | |
| git clone git://src.adamsgaard.dk/dwm | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit 56130c36894edd0c730e5c8ee0ac07cad524d176 | |
| parent 14f7380308c4213aac7956c272dec0d23c2f42d3 | |
| Author: Anselm R.Garbe <[email protected]> | |
| Date: Wed, 16 Aug 2006 15:00:14 +0200 | |
| added sample command to config.default.h to highlight how to query class:instan… | |
| Diffstat: | |
| M config.default.h | 2 ++ | |
| 1 file changed, 2 insertions(+), 0 deletions(-) | |
| --- | |
| diff --git a/config.default.h b/config.default.h | |
| t@@ -48,6 +48,8 @@ static Key key[] = { \ | |
| { MODKEY|ShiftMask, XK_q, quit, … | |
| }; | |
| +/* Query class:instance for regex matching info with following command: | |
| + * ; xprop | grep WM_CLASS | sed 's/"//g;s/,//g' | awk '{ printf("%s:%s", $4, … | |
| #define RULES \ | |
| static Rule rule[] = { \ | |
| /* class:instance regex tags regex isfloat */ \ |