Perry Hargrave ; wrote:
On Fri, Oct 23, 2009 at 10:28:59PM +0200, "Jérôme M. Berger" wrote:
- How can I set the default layout for my tags? Right now it starts
in "floating" layout, which is about the worst possible choice (if I
wanted a floating wm I wouldn't be using awesome).

please see numerous other mail threads/bugs in and about awesome, then read the
very informative:
http://julien.danjou.info/blog/index.php/post/2009/06/15/I-will-tile-your-face

as an explanation for while it is left to float.

Well, all I gotta say is: it's lucky that awesome was called a "tiling window manager" and not a "custom window manager construction kit" when I discovered it or I'd have missed a great soft ;)

but as a possible solution, the function awful.tag() takes up to three
arguments: name, screen, layout

so by changing this line:
tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s)

to something like:
tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, awful.layout.suit.tile)

all of your tags would be given a tiling layout.

There are of course, better/fancier ways to specify this on per-tag basis et
cetera. This is left to the reader as an exercise.

        Thanks, that worked just fine!

                Jerome
--
mailto:jeber...@free.fr
http://jeberger.free.fr
Jabber: jeber...@jabber.fr

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to