X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.default.h;h=7e9b7ef1354aa9ed179c2710c295a96896fcb1c0;hb=ad2e77d6350b1f43513d052018735d2a8f949d78;hp=9d99794f1bd224ffcddd7f74ebb8eb94694b369a;hpb=df74b26e5dfa3ae0f3f66107a562be6ac46ee0c3;p=dwm.git diff --git a/config.default.h b/config.default.h index 9d99794..7e9b7ef 100644 --- a/config.default.h +++ b/config.default.h @@ -48,6 +48,8 @@ static Key key[] = { \ { 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 */ \