X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.arg.h;h=a3d312c7abf3c18c8f5a80313d0f6941f19ef053;hb=dc5c070c44d9af434405c8d6538abd06299d3298;hp=aeefc5ce881b5a652c8958b7c4da32ed01aa5d30;hpb=a73a88280681acdab047bd11a9ba77d97d6a0b72;p=dwm.git 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