X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/a73a88280681acdab047bd11a9ba77d97d6a0b72..b515765216c46246358256da6098ea2c07a93c84:/config.h diff --git a/config.h b/config.h index 430539c..1e8cb39 100644 --- a/config.h +++ b/config.h @@ -3,15 +3,6 @@ * See LICENSE file for license details. */ -#define FONT "fixed" -#define BGCOLOR "#666699" -#define FGCOLOR "#eeeeee" -#define BORDERCOLOR "#9999CC" -#define MODKEY Mod1Mask -#define NUMLOCKMASK Mod2Mask -#define MASTERW 52 /* percent */ -#define WM_PROTOCOL_DELWIN 1 - enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast }; #define TAGS \ char *tags[TLast] = { \ @@ -21,13 +12,19 @@ char *tags[TLast] = { \ [Twork] = "work", \ [Tmisc] = "misc", \ }; -#define DEFTAG Tdev - -#define CMDS \ - const char *term[] = { "xterm", NULL }; +#define DEFMODE dotile /* dofloat */ +#define DEFTAG Tdev +#define FONT "fixed" +#define BGCOLOR "#666699" +#define FGCOLOR "#eeeeee" +#define BORDERCOLOR "#9999CC" +#define MODKEY Mod1Mask +#define NUMLOCKMASK Mod2Mask +#define MASTERW 52 /* percent */ #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