X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.h;h=d9070e39e3c5c55f61ff485409c1afe6be4a8c99;hb=3af6434085aee75bd90e22aee95419dc0ae0b969;hp=430539c3ce8d3018df74ed4c0c35bd81b04c7ccd;hpb=a73a88280681acdab047bd11a9ba77d97d6a0b72;p=dwm.git diff --git a/config.h b/config.h index 430539c..d9070e3 100644 --- a/config.h +++ b/config.h @@ -3,6 +3,7 @@ * See LICENSE file for license details. */ +#define DEFMODE dotile /* dofloat */ #define FONT "fixed" #define BGCOLOR "#666699" #define FGCOLOR "#eeeeee" @@ -10,7 +11,6 @@ #define MODKEY Mod1Mask #define NUMLOCKMASK Mod2Mask #define MASTERW 52 /* percent */ -#define WM_PROTOCOL_DELWIN 1 enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast }; #define TAGS \ @@ -21,13 +21,10 @@ char *tags[TLast] = { \ [Twork] = "work", \ [Tmisc] = "misc", \ }; -#define DEFTAG Tdev - - -#define CMDS \ - const char *term[] = { "xterm", NULL }; +#define DEFTAG Tdev #define KEYS \ + const char *term[] = { "xterm", NULL }; \ static Key key[] = { \ /* modifier key function arguments */ \ { MODKEY, XK_0, view, { .i = Tfnord } }, \ @@ -63,5 +60,3 @@ static Rule rule[] = { \ { "Firefox.*", { [Tnet] = "net" }, False }, \ { "Gimp.*", { 0 }, True}, \ }; - -#define ARRANGE dotile