tag.c
changeset 84 052fe7498930
parent 80 8125f908c80c
child 93 c498da7520c7
equal deleted inserted replaced
83:ca809fdd30ea 84:052fe7498930
     5 #include "dwm.h"
     5 #include "dwm.h"
     6 
     6 
     7 #include <string.h>
     7 #include <string.h>
     8 #include <X11/Xutil.h>
     8 #include <X11/Xutil.h>
     9 
     9 
    10 /********** CUSTOMIZE **********/
    10 /* static */
    11 
    11 
       
    12 /* CUSTOMIZE */ 
       
    13 static Rule rule[] = {
       
    14 	/* class			instance	tags						isfloat */
       
    15 	{ "Firefox-bin",	"Gecko",	{ [Twww] = "www" },			False },
       
    16 };
       
    17 
       
    18 /* extern */
       
    19 
       
    20 /* CUSTOMIZE */
    12 char *tags[TLast] = {
    21 char *tags[TLast] = {
    13 	[Tscratch] = "scratch",
    22 	[Tscratch] = "scratch",
    14 	[Tdev] = "dev",
    23 	[Tdev] = "dev",
    15 	[Twww] = "www",
    24 	[Twww] = "www",
    16 	[Twork] = "work",
    25 	[Twork] = "work",
    17 };
    26 };
    18 
       
    19 static Rule rule[] = {
       
    20 	/* class			instance	tags						isfloat */
       
    21 	{ "Firefox-bin",	"Gecko",	{ [Twww] = "www" },			False },
       
    22 };
       
    23 
       
    24 /********** CUSTOMIZE **********/
       
    25 
       
    26 /* extern functions */
       
    27 
       
    28 void (*arrange)(Arg *) = dotile;
    27 void (*arrange)(Arg *) = dotile;
    29 
    28 
    30 void
    29 void
    31 appendtag(Arg *arg)
    30 appendtag(Arg *arg)
    32 {
    31 {