X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;ds=inline;f=config.def.h;h=a389dff9063185b84b78c702e6c42f56edeb2a60;hb=da1b3fa4379acc7431eaee1331e755ef5335011b;hp=7866968104806b8d94f38db0a01542789d30fd5c;hpb=2e8e5509d9cad9229d2d79a1de75038d94032cfb;p=dwm.git diff --git a/config.def.h b/config.def.h index 7866968..a389dff 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", "5", "6", "7", "8", "9" }; +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) */