X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=0b5d9e4a4d87c3590e6d271b45b64adac7c6b9b9;hb=93a4fe1052e1271f7b4f519b4f2de4e3f4e15edc;hp=23c90f63a511f8cb924119123226f28ca7e4791b;hpb=d477fb69270cb1cce9a065d51e959206a28ba0f9;p=dwm.git diff --git a/config.def.h b/config.def.h index 23c90f6..0b5d9e4 100644 --- a/config.def.h +++ b/config.def.h @@ -21,7 +21,7 @@ Rule rules[] = { /* geometries, s{x,y,w,h} and bh are already initualized here */ /* func name bx by bw wx wy ww wh mx my mw mh tx ty tw th mox moy mow moh */ #define MFACT 0.55 /* master width factor [0.1 .. 0.9] */ -DEFGEOM(single, 0, 0, sw, 0, bh, sw, sh-bh, wx, wy, mfact*sw, wh, mx+mw, wy, ww-mw, wh, wx, wy, ww, wh) +DEFGEOM(single, 0, 0, sw, 0, bh, sw, sh-bh, wx, wy, mfact*ww, wh, mx+mw, wy, ww-mw, wh, wx, wy, ww, wh) Geom geoms[] = { /* symbol function */ @@ -35,9 +35,8 @@ Geom geoms[] = { Layout layouts[] = { /* symbol function isfloating */ { "[]=", tilev, False }, /* first entry is default */ - { "[]|", tileh, False }, - { "><>", floating, True }, - { "[M]", monocle, True }, + { "><>", NULL, True }, + { "", monocle, True }, }; /* key definitions */ @@ -48,7 +47,9 @@ Key keys[] = { "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" }, { MODKEY, XK_j, focusnext, NULL }, + { MODKEY|ShiftMask, XK_j, focusnext, "exact" }, { MODKEY, XK_k, focusprev, NULL }, + { MODKEY|ShiftMask, XK_k, focusprev, "exact" }, { MODKEY, XK_r, reapply, NULL }, { MODKEY, XK_h, setmfact, "-0.05" }, { MODKEY, XK_l, setmfact, "+0.05" },