You are not logged in.
How do I create custom tag names in the Awesome WM?
Offline
Hi!
You did not specify which version you are running... So I just thought it might help if I posted the relevant part of my config. I think there is other ways to do it, but this works for me, in both the version in AUR, which is a snapshot of 3.3 development version, and the newest 3.3-rc4. Perhaps it might work in earlier versions too! Enjoy:
-- {{{ Tags
-- Define tags table.
tags = {}
tags.settings = {
{ name = "urxvt", layout = layouts[1], },
{ name = "www", layout = layouts[1], },
{ name = "media", layout = layouts[7] },
{ name = "mail", layout = layouts[7], },
{ name = "other", layout = layouts[10], setslave = true },
}
-- Initialize tags
for s = 1, screen.count() do
tags[s] = {}
for i, v in ipairs(tags.settings) 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], "setslave", v.setslave)
awful.tag.setproperty(tags[s][i], "mwfact", v.mwfact)
end
tags[s][1].selected = true
end
-- }}}
You can find my entire config at: http://dotfiles.org/~KlavKalashj
Last edited by KlavKalashj (2009-05-30 17:36:12)
Offline
What effect has "setslave = true"?
Thanks
Offline
What effect has "setslave = true"?
Thanks
I reckon it makes every new window go to the side, or bottom or where ever the smaller ones are, e.g. not set it as master
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
But in this context it is useless, because no such property exists (setslave can be turned on or off for all, not selectively)... this artificial property needs to come with a counterpart in the manage hook that will actually check if you set the setslave property for a tag and only then enforce setslave.
You need to install an RTFM interface.
Offline