X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.def.h;h=92f1cdc2950a89eb5d72f2c1b681295d394c977e;hb=f1719ac2de2aba270c2460807eacae137d3aeadf;hp=7866968104806b8d94f38db0a01542789d30fd5c;hpb=2e8e5509d9cad9229d2d79a1de75038d94032cfb;p=dwm.git diff --git a/config.def.h b/config.def.h index 7866968..92f1cdc 100644 --- a/config.def.h +++ b/config.def.h @@ -11,15 +11,16 @@ #define SELBGCOLOR "#0066ff" #define SELFGCOLOR "#ffffff" -/* tagging */ -const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" }; -Bool initags[LENGTH(tags)] = {[0] = True}; +/* old */ +const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "nil", "6", "7", "8", "www" }; +unsigned int vtags[LENGTH(tags)] = { 0 , 0 , 0 , 0 , 0 , 1 , 1 , 1 , 1 }; + Rule rules[] = { - /* class:instance:title regex tags regex isfloating */ /* monitor */ - { "Firefox", "www", False, -1 }, - { "Gimp", NULL, True, -1 }, - { "MPlayer", NULL, True, -1 }, - { "Acroread", NULL, True, -1 }, + /* class:instance:title substr tags ref isfloating */ + { "Firefox", tags[8], False }, + { "Gimp", NULL, True }, + { "MPlayer", NULL, True }, + { "Acroread", NULL, True }, }; /* layout(s) */