Hi there,

I thought about all those feedback mails so far and implemented
a new setgeom function which expects a certain input syntax. I'm
not confident yet if this approach will stay, but what do you
think about it?

In config.h there is now the following default geometry:

#define GEOMETRY                "0 0 W B " \
                                "0 B W H-B " \
                                "0 B W*0.55 H-B " \
                                "W*0.55 B W*0.45 H-B " \
                                "0 B W H-B"

The basic syntax consists of a string like 

"<bx> <by> <bw> <bh> <wx> <wy> <ww> <wh> <mx> <my> <mw> <mh> <tx> <ty> <tw> 
<th> <mox> <moy> <mow> <moh>"

where each value is separated by a space from each other. Each
value can be of the form [[<val>]+,-,*]<val>, whereas <val>
might be a number (integer or double) or one of "W", "H", "B".

"W" is the screen width (DisplayWidth()), "H" is the screen
height (DisplayHeight()) and "B" is the  bar height.

With this you can for example hide the bar with

setgeom("0 H W B 0 0 W H 0 0 W*0.55 H W*0.55 0 W*0.45 H 0 0 W H");

Similiarly one can change the master/tile geometry with such a
call.

Kind regards,
-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361

Reply via email to