You are not logged in.
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
Thanks in advance
barghest
Offline
You could float the client (default is mod-ctrl-space) and then resize it
Offline
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
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
Offline
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