X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/a73a88280681acdab047bd11a9ba77d97d6a0b72..8cc7f3bace087dfb024a23115c211d82b35614ae:/config.arg.h diff --git a/config.arg.h b/config.arg.h index aeefc5c..a3d312c 100644 --- a/config.arg.h +++ b/config.arg.h @@ -3,37 +3,34 @@ * See LICENSE file for license details. */ -#define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" -#define BGCOLOR "#0a2c2d" -#define FGCOLOR "#ddeeee" -#define BORDERCOLOR "#176164" -#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] = { \ +const char *tags[TLast] = { \ [Tfnord] = "fnord", \ [Tdev] = "dev", \ [Tnet] = "net", \ [Twork] = "work", \ [Tmisc] = "misc", \ }; -#define DEFTAG Tdev +#define DEFMODE dotile /* dofloat */ +#define DEFTAG Tdev +#define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" +#define BGCOLOR "#0a2c2d" +#define FGCOLOR "#ddeeee" +#define BORDERCOLOR "#176164" +#define MODKEY Mod1Mask +#define NUMLOCKMASK Mod2Mask +#define MASTERW 60 /* percent */ -#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 } }, \ @@ -69,8 +66,8 @@ static Key key[] = { \ #define RULES \ static Rule rule[] = { \ /* class:instance tags isfloat */ \ - { "Firefox.*", { [Tnet] = "net" }, False }, \ + { "Firefox.*", { [Tnet] = True }, False }, \ { "Gimp.*", { 0 }, True}, \ + { "MPlayer.*", { 0 }, True}, \ + { "Acroread.*", { 0 }, True}, \ }; - -#define ARRANGE dotile