# HG changeset patch # User Anselm R.Garbe # Date 1155733214 -7200 # Node ID 06dfbb8d188673c491521e5a899a35306fc97e99 # Parent 1120bd29a275ecd42e0bbcc7769e55ff33ffcd3f added sample command to config.default.h to highlight how to query class:instance info with a one-liner of shell commands diff -r 1120bd29a275 -r 06dfbb8d1886 config.default.h --- a/config.default.h Wed Aug 16 12:36:32 2006 +0200 +++ b/config.default.h Wed Aug 16 15:00:14 2006 +0200 @@ -48,6 +48,8 @@ { 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 */ \