diff options
| author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-16 15:00:14 +0200 |
|---|---|---|
| committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-16 15:00:14 +0200 |
| commit | 56130c36894edd0c730e5c8ee0ac07cad524d176 (patch) | |
| tree | 506d57cbc57ff402e188793787d80f5ecc4320a8 /config.default.h | |
| parent | applied another config.mk patch made by sander (diff) | |
| download | dwm-56130c36894edd0c730e5c8ee0ac07cad524d176.tar.gz dwm-56130c36894edd0c730e5c8ee0ac07cad524d176.zip | |
added sample command to config.default.h to highlight how to query class:instance info with a one-liner of shell commands
Diffstat (limited to '')
| -rw-r--r-- | config.default.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config.default.h b/config.default.h index 9d99794..527941c 100644 --- a/config.default.h +++ b/config.default.h | |||
| @@ -48,6 +48,8 @@ static Key key[] = { \ | |||
| 48 | { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ | 48 | { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ |
| 49 | }; | 49 | }; |
| 50 | 50 | ||
| 51 | /* Query class:instance for regex matching info with following command: | ||
| 52 | * ; xprop | grep WM_CLASS | sed 's/"//g;s/,//g' | awk '{ printf("%s:%s", $4, $3) }' */ | ||
| 51 | #define RULES \ | 53 | #define RULES \ |
| 52 | static Rule rule[] = { \ | 54 | static Rule rule[] = { \ |
| 53 | /* class:instance regex tags regex isfloat */ \ | 55 | /* class:instance regex tags regex isfloat */ \ |
