You are not logged in.

#1 2009-06-01 11:26:13

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Question about window controlling in awesome

Hi!

As the topic says I want to know something about window controlling in awesome.

I'm quitte happy with awesome but there is one thing I'd like to tweak.

I usually have the "standard" layout with one master and an area for the slaves.

When I now only have one window open on a tag it is automatticaly set to fullscreen. I'm on a widescreen and I find it more comfortable if e.g. my browser or editor only takes half the screen.

So, is it possible, to say awesome that the master has to stay in the master area even if there are no slaves?

I hope you understand what i mean wink

Thanks in advance

barghest

Offline

#2 2009-06-02 19:05:21

r6
Member
From: Melbourne
Registered: 2008-07-02
Posts: 156

Re: Question about window controlling in awesome

You could float the client (default is mod-ctrl-space) and then resize it

Offline

#3 2009-06-02 20:01:30

Intrepid
Member
Registered: 2008-06-11
Posts: 254

Re: Question about window controlling in awesome

Just put whatever you may need later as a slave e.g. IM window, Xterm, File Manager, torrent software, email client etc.  That's what I do!


Intrepid (adj.): Resolutely courageous; fearless.

Offline

#4 2009-06-03 03:01:19

r6
Member
From: Melbourne
Registered: 2008-07-02
Posts: 156

Re: Question about window controlling in awesome

This is as good a place to put this as any: I finally figured out how to set the master width to a size other than 50% when awesome starts up. In rc.lua where it creates all the tags, add this line:

awful.tag.setmwfact(0.65, tags[s][tagnumber])

That sets the width to 65% in every tag. Saves me pressing mod-l a few times every morning smile

Offline

#5 2009-06-19 17:58:41

Intrepid
Member
Registered: 2008-06-11
Posts: 254

Re: Question about window controlling in awesome

Here's my setup; it allows for individual tag settings:

tags = {}
settags = {
    { name = "web", layout = layouts[3], mwfact = 0.63 },
    { name = "edit", layout = layouts[4] },
    { name = "work", layout = layouts[3] },
    { name = "email", layout = layouts[4] },
    { name = "5", layout = layouts[1] },
    { name = "6", layout = layouts[1] },
}
for s = 1, screen.count() do
    -- Each screen has its own tag table.
    tags[s] = { }
    -- Create 9 tags per screen.
    for i, v in ipairs(settags) do
        tags[s][i] = tag(v.name)
    tags[s][i].screen = s
    awful.tag.setproperty(tags[s][i], "layout", v.layout)
    awful.tag.setproperty(tags[s][i], "mwfact", v.mwfact)
    awful.tag.setproperty(tags[s][i], "nmaster", v.nmaster)
    awful.tag.setproperty(tags[s][i], "ncols", v.ncols)
    awful.tag.setproperty(tags[s][i], "icon", v.icon)
    -- I'm sure you want to see at least one tag.
    end
    tags[s][1].selected = true
end

I hope that makes sense to you if you need specific tag names and/or tag properties.


Intrepid (adj.): Resolutely courageous; fearless.

Offline

Board footer

Powered by FluxBB