Re: [dwm] found a nice way to do the setgeom stuff

From: Ralph E. Carter <vamosaverlas_AT_hotmail.com>
Date: Mon, 17 Mar 2008 19:49:19 -0400

----------------------------------------
> From: nibble_AT_develsec.org
> To: dwm_AT_suckless.org
> Date: Mon, 17 Mar 2008 22:38:06 +0100
> Subject: Re: [dwm] found a nice way to do the setgeom stuff
>
>> To grow/shrink the master area, you could reuse this approach as
>> follows:
>>
>> DEFGEOM(growmaster, bx, by, bw, wx, wy, ww, wh, mx, my, \
>> mw+=20, mh, tx, ty, tw-=20, th, mox, moy, mow, moh)
>> DEFGEOM(shrinkmaster, bx, by, bw, wx, wy, ww, wh, mx, my, \
>> mw-=20, mh, tx, ty, tw+=20, th, mox, moy, mow, moh)
>>
>> { "+|", growmaster },
>> { "|-", shrinkmaster },
>>
>> { MODKEY, XK_h, setgeom, "|-" },
>> { MODKEY, XK_l, setgeom, "+|" },
>
> It is not very important, but the right GEOM definition for growmaster and
> shrinkmaster should be:
>
> DEFGEOM(shrinkmaster, bx, by, bw, wx, wy, ww, wh, mx, my, \
> mw-=20, mh, tx-=20, ty, tw+=20, th, mox, moy, mow, moh)
> DEFGEOM(growmaster, bx, by, bw, wx, wy, ww, wh, mx, my, \
> mw+=20, mh, tx+=20, ty, tw-=20, th, mox, moy, mow, moh)
>
> And, of course, nice work!! I really like the new geometries concept.
>
> Kind regards,
> Nibble
>
Right. This fixed mine. Thanks.
_________________________________________________________________
Watch “Cause Effect,” a show about real people making a real difference. Learn more.
http://im.live.com/Messenger/IM/MTV/?source=text_watchcause
Received on Tue Mar 18 2008 - 00:49:51 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:26:55 UTC