Browse Source

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

config
Anselm R.Garbe 18 years ago
parent
commit
56130c3689
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      config.default.h

+ 2
- 0
config.default.h View File

@ -48,6 +48,8 @@ static Key key[] = { \
{ MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ { 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 \ #define RULES \
static Rule rule[] = { \ static Rule rule[] = { \
/* class:instance regex tags regex isfloat */ \ /* class:instance regex tags regex isfloat */ \


Loading…
Cancel
Save