X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/a73a88280681acdab047bd11a9ba77d97d6a0b72..eff4478c2d231060f920e209cbdfd266d56334e2:/config.arg.h?ds=inline diff --git a/config.arg.h b/config.arg.h index aeefc5c..180b890 100644 --- a/config.arg.h +++ b/config.arg.h @@ -3,6 +3,10 @@ * See LICENSE file for license details. */ +enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast }; + +#define ARRANGE dotile /* dofloat */ +#define DEFTAG Tdev #define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" #define BGCOLOR "#0a2c2d" #define FGCOLOR "#ddeeee" @@ -10,9 +14,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 +23,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 +70,3 @@ static Rule rule[] = { \ { "Firefox.*", { [Tnet] = "net" }, False }, \ { "Gimp.*", { 0 }, True}, \ }; - -#define ARRANGE dotile