X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.arg.h;h=f87489bb009a07198ed37bafd9017052d80b6498;hb=080a38d62d18be2ab98f66ed190d3d9e3463fec9;hp=aeefc5ce881b5a652c8958b7c4da32ed01aa5d30;hpb=a73a88280681acdab047bd11a9ba77d97d6a0b72;p=dwm.git diff --git a/config.arg.h b/config.arg.h index aeefc5c..f87489b 100644 --- a/config.arg.h +++ b/config.arg.h @@ -3,6 +3,9 @@ * See LICENSE file for license details. */ +enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast }; +#define DEFMODE dotile /* dofloat */ +#define DEFTAG Tdev #define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" #define BGCOLOR "#0a2c2d" #define FGCOLOR "#ddeeee" @@ -10,9 +13,7 @@ #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] = { \ [Tfnord] = "fnord", \ @@ -21,19 +22,15 @@ char *tags[TLast] = { \ [Twork] = "work", \ [Tmisc] = "misc", \ }; -#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