X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.def.h;h=9714129cbecfed6ec635651bad816331c7fa8c1e;hb=6f60b2e1cd74c881688617082dc292b5c89da1a1;hp=e8ab532093d5fd7ba68c3711b1deabf2bca932f7;hpb=cdd6c3e820a360aaca1e8cd9c4b882bac1448261;p=dwm.git diff --git a/config.def.h b/config.def.h index e8ab532..9714129 100644 --- a/config.def.h +++ b/config.def.h @@ -11,8 +11,13 @@ #define SELBGCOLOR "#0066ff" #define SELFGCOLOR "#ffffff" +/* convenience */ +#define LENGTH(x) (sizeof x / sizeof x[0]) + /* tagging */ const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" }; +Bool seltags[LENGTH(tags)] = {[0] = True}; +Bool prevtags[LENGTH(tags)] = {[0] = True}; Rule rules[] = { /* class:instance:title regex tags regex isfloating */ { "Firefox", "www", False }, @@ -22,8 +27,8 @@ Rule rules[] = { }; /* layout(s) */ -#define ISTILE isarrange(tile) /* || isarrange() */ #define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */ +#define RESIZEHINTS True /* False - respect size hints in tiled resizals */ #define SNAP 32 /* snap pixel */ Layout layouts[] = { /* symbol function */