Mercurial > dwm-meillo
comparison config.default.h @ 312:8373e295cb04
applied the shorter xprop command
author | Anselm R.Garbe <arg@10ksloc.org> |
---|---|
date | Thu, 17 Aug 2006 09:44:17 +0200 |
parents | f7978c6395f5 |
children | 73efaa15a635 |
comparison
equal
deleted
inserted
replaced
311:099c595c53e6 | 312:8373e295cb04 |
---|---|
47 { MODKEY|ControlMask, XK_4, toggleview, { .i = 4 } }, \ | 47 { MODKEY|ControlMask, XK_4, toggleview, { .i = 4 } }, \ |
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: | 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) }' */ | 52 * xprop | awk -F'"' '/^WM_CLASS/ { printf "%s:%s\n", $4, $2 }'*/ |
53 #define RULES \ | 53 #define RULES \ |
54 static Rule rule[] = { \ | 54 static Rule rule[] = { \ |
55 /* class:instance regex tags regex isfloat */ \ | 55 /* class:instance regex tags regex isfloat */ \ |
56 { "Firefox.*", "2", False }, \ | 56 { "Firefox.*", "2", False }, \ |
57 { "Gimp.*", NULL, True}, \ | 57 { "Gimp.*", NULL, True}, \ |