X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.default.h;h=c3189738fe750b95c7133a59251f7117aa2dcc9c;hb=cdbc84b9a87c427b3d0a202475b0f5aae315fb90;hp=8b1b3d01155f4a1963ab8b87ebf3f8effed2b821;hpb=3a96c9a8d5df3747b9c538decbbbe63eb228d082;p=dwm.git diff --git a/config.default.h b/config.default.h index 8b1b3d0..c318973 100644 --- a/config.default.h +++ b/config.default.h @@ -5,22 +5,27 @@ #define TAGS \ const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; -#define DEFMODE dotile /* dofloat */ -#define FLOATSYMBOL "><>" -#define TILESYMBOL "[]=" +#define LAYOUTS \ +Layout layout[] = { \ + /* symbol function */ \ + { "[]=", dotile }, /* first entry is default */ \ + { "><>", dofloat }, \ +}; +#define BORDERPX 1 #define FONT "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*" -#define NORMBGCOLOR "#111111" -#define NORMFGCOLOR "#cccccc" -#define SELBGCOLOR "#336699" -#define SELFGCOLOR "#eeeeee" -#define STATUSBGCOLOR "#222222" -#define STATUSFGCOLOR "#cccccc" +#define NORMBORDERCOLOR "#dddddd" +#define NORMBGCOLOR "#eeeeee" +#define NORMFGCOLOR "#222222" +#define SELBORDERCOLOR "#ff0000" +#define SELBGCOLOR "#006699" +#define SELFGCOLOR "#ffffff" #define MASTER 600 /* per thousand */ #define MODKEY Mod1Mask #define NMASTER 1 /* clients in master area */ #define SNAP 20 /* pixel */ +#define TOPBAR True /* False */ #define KEYS \ static Key key[] = { \ @@ -53,7 +58,7 @@ static Key key[] = { \ { MODKEY|ControlMask|ShiftMask, XK_8, toggletag, { .i = 7 } }, \ { MODKEY|ControlMask|ShiftMask, XK_9, toggletag, { .i = 8 } }, \ { MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \ - { MODKEY, XK_space, togglemode, { 0 } }, \ + { MODKEY, XK_space, togglelayout, { 0 } }, \ { MODKEY|ShiftMask, XK_space, togglefloat, { 0 } }, \ { MODKEY, XK_0, view, { .i = -1 } }, \ { MODKEY, XK_1, view, { .i = 0 } }, \ @@ -82,6 +87,7 @@ static Key key[] = { \ #define RULES \ static Rule rule[] = { \ /* class:instance:title regex tags regex isfloat */ \ - { "Firefox.*", "2", False }, \ - { "Gimp.*", NULL, True }, \ + { "Gimp", NULL, True }, \ + { "MPlayer", NULL, True }, \ + { "Acroread", NULL, True }, \ };