X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.arg.h;h=80d4918e5cbf2ce621e27a3ff35ff60ea8a6e212;hb=3af6434085aee75bd90e22aee95419dc0ae0b969;hp=aeefc5ce881b5a652c8958b7c4da32ed01aa5d30;hpb=a73a88280681acdab047bd11a9ba77d97d6a0b72;p=dwm.git diff --git a/config.arg.h b/config.arg.h index aeefc5c..80d4918 100644 --- a/config.arg.h +++ b/config.arg.h @@ -3,6 +3,7 @@ * See LICENSE file for license details. */ +#define DEFMODE dotile /* dofloat */ #define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" #define BGCOLOR "#0a2c2d" #define FGCOLOR "#ddeeee" @@ -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,19 +21,16 @@ char *tags[TLast] = { \ [Twork] = "work", \ [Tmisc] = "misc", \ }; -#define DEFTAG Tdev +#define DEFTAG Tdev - -#define CMDS \ +#define KEYS \ const char *browse[] = { "firefox", NULL }; \ const char *gimp[] = { "gimp", NULL }; \ const char *term[] = { \ "urxvt", "-tr", "+sb", "-bg", "black", "-fg", "white", "-cr", "white", \ "-fn", "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", NULL \ }; \ - const char *xlock[] = { "xlock", NULL }; - -#define KEYS \ + const char *xlock[] = { "xlock", NULL }; \ static Key key[] = { \ /* modifier key function arguments */ \ { MODKEY, XK_0, view, { .i = Tfnord } }, \ @@ -72,5 +69,3 @@ static Rule rule[] = { \ { "Firefox.*", { [Tnet] = "net" }, False }, \ { "Gimp.*", { 0 }, True}, \ }; - -#define ARRANGE dotile