Re: [dwm] Documentation!

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Sat, 17 May 2008 14:21:35 +0200

On Sat, May 17, 2008 at 12:19:55PM +0200, Steffen Liebergeld wrote:
> Followup on my previous post to clarify and add another question.
>
> Steffen Liebergeld wrote:
>
> > Just have a look at that line:
> > 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)
> >
> > This is a true "wtf"! What the **** could that be? Could you at least
> > document what this creature is? Do I have to read all the code, and
> > understand it just to get the meaning of this single cryptic line.
> >
> >
> > I am looking forward to get an explanation about this. And maybe someone
> > could start documenting the code, to make it useful again.
>
> The simple thing i was trying to accomplish is having the statusline at the
> bottom an leaving 23pixels at the top of the screen free. How can I do
> that?

Well, DEFGEOM is historical already, but you could achieve this
with:

DEFGEOM(botbar, 0, sh-bh, sw, 0, 0, sw, sh-bh, wx, wy, mfact*sw,
                wh, mx+mw, wy, ww-mh, wh, wx, wy, ww, wh)

> The other thing I wanted was to have CRTL-t,n (Ratpoison alike) bindings. Is
> that possible?

Not without patching the keypress handler. There were patches
for this I remember darkly...

Kind regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Sat May 17 2008 - 14:21:36 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:40:04 UTC