X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.default.h;h=5a8d5949d210342d7242279ecf379d7483c4388f;hb=e461e60997f83d69561ad0ca4754c299145c00b8;hp=073146f965f1a59d3beea885f56185859b70b0e9;hpb=12280f0253407827c9eba288df29ca669d2053bd;p=dwm.git diff --git a/config.default.h b/config.default.h index 073146f..5a8d594 100644 --- a/config.default.h +++ b/config.default.h @@ -1,8 +1,7 @@ -/* (C)opyright MMVI-MMVII Anselm R. Garbe - * See LICENSE file for license details. - */ +/* See LICENSE file for copyright and license details. */ /* appearance */ +#define BARPOS BarTop /* BarBot, BarOff */ #define BORDERPX 1 #define FONT "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*" #define NORMBORDERCOLOR "#dddddd" @@ -11,7 +10,6 @@ #define SELBORDERCOLOR "#ff0000" #define SELBGCOLOR "#006699" #define SELFGCOLOR "#ffffff" -#define TOPBAR True /* False */ /* tagging */ #define TAGS \ @@ -33,9 +31,9 @@ static Layout layout[] = { \ { "[]=", tile }, /* first entry is default */ \ { "><>", floating }, \ }; -#define MASTERWIDTH 600 /* master width per thousand */ -#define NMASTER 1 /* clients in master area */ -#define SNAP 32 /* snap pixel */ +#define NMASTER 1 /* clients in master area */ +#define RATIO .8 /* ratio of tile */ +#define SNAP 32 /* snap pixel */ /* key definitions */ #define MODKEY Mod1Mask @@ -45,8 +43,9 @@ static Key key[] = { \ { MODKEY|ShiftMask, XK_Return, spawn, "exec xterm" }, \ { MODKEY, XK_p, spawn, "exe=`dmenu_path | dmenu` && exec $exe" }, \ { MODKEY, XK_space, setlayout, NULL }, \ - { MODKEY, XK_h, incmasterw, "-32" }, \ - { MODKEY, XK_l, incmasterw, "32" }, \ + { MODKEY, XK_b, togglebar, NULL }, \ + { MODKEY, XK_h, incratio, ".1" }, \ + { MODKEY, XK_l, incratio, "-.1" }, \ { MODKEY|ShiftMask, XK_j, incnmaster, "1" }, \ { MODKEY|ShiftMask, XK_k, incnmaster, "-1" }, \ { MODKEY, XK_j, focusclient, "1" }, \