X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/5602f44b29b5c9a9b66b012b34f5749929c5cd31..7ac4f8a4afd9766d485b03bff4c6cc02cbe3696c:/config.def.h?ds=sidebyside diff --git a/config.def.h b/config.def.h index d7824e3..c8e88de 100644 --- a/config.def.h +++ b/config.def.h @@ -18,31 +18,16 @@ Rule rules[] = { { "Gimp", NULL, NULL, NULL, True }, }; -/* 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*ww, wh, mx+mw, wy, ww-mw, wh, wx, wy, ww, wh) -DEFGEOM(dual, 0, 0,1280, 0, bh, ww, wh-bh, wx, wy, 1280,800-bh, 1280, 0, ww-mw, sh, mx, my, mw, mh) - -Geom geoms[] = { - /* symbol function */ - { "[]", single }, /* first entry is default */ - { "[][]", dual }, -}; - /* layout(s) */ +#define MFACT 0.55 /* master width factor [0.1 .. 0.9] */ #define RESIZEHINTS True /* False - respect size hints in tiled resizals */ #define SNAP 32 /* snap pixel */ Layout layouts[] = { /* symbol function isfloating */ { "[]=", tilev, False }, /* first entry is default */ - { "<>=", tilev, True }, - { "[]|", tileh, False }, - { "<>|", tileh, True }, - { "><>", NULL, True }, - { "[m]", monocle, False }, - { "[M]", monocle, True }, + { "><>", NULL, True }, + { "", monocle, True }, }; /* key definitions */ @@ -64,7 +49,6 @@ Key keys[] = { { MODKEY|ShiftMask, XK_c, killclient, NULL }, { MODKEY, XK_space, setlayout, NULL }, { MODKEY|ShiftMask, XK_space, togglefloating, NULL }, - { MODKEY|ControlMask, XK_space, setgeom, NULL }, { MODKEY, XK_0, view, NULL }, { MODKEY, XK_1, view, tags[0] }, { MODKEY, XK_2, view, tags[1] },