config.default.h
changeset 304 06dfbb8d1886
parent 293 093744cc5353
child 305 f7978c6395f5
equal deleted inserted replaced
303:1120bd29a275 304:06dfbb8d1886
    46 	{ MODKEY|ControlMask,		XK_3,		toggleview,	{ .i = 3 } }, \
    46 	{ MODKEY|ControlMask,		XK_3,		toggleview,	{ .i = 3 } }, \
    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:
       
    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 */ \
    54 	{ "Firefox.*",			"2",		False }, \
    56 	{ "Firefox.*",			"2",		False }, \
    55 	{ "Gimp.*",			NULL,		True}, \
    57 	{ "Gimp.*",			NULL,		True}, \