You are not logged in.
Hello, I'm using the Awesome Window Manager and want to know
1. how to customize the names for the tags.
2. how to set default layouts for specifig tags.
Offline
You need to code that your self, I'll show you one approach (layout numbers corespond to items in your layouts table):
-- {{{ Tags
-- Define tag tables
tag_settings = {
{ name="aaa", layout=layouts[1] },
{ name="bbb", layout=layouts[3] },
{ name="ccc", layout=layouts[7] },
{ name="ddd", layout=layouts[1] },
{ name="eee", layout=layouts[6] },
{ name="fff", layout=layouts[1] },
{ name="ggg", layout=layouts[4] },
{ name="hhh", layout=layouts[3] },
{ name="iii", layout=layouts[2] }
}
-- Initialize tags in awesome 3.1
tags = {}
for s = 1, screen.count() do
tags[s] = {}
for tagnumber = 1, 9 do
tags[s][tagnumber] = tag({ name = tag_settings[tagnumber].name, layout = tag_settings[tagnumber].layout })
tags[s][tagnumber].screen = s
awful.layout.set(layouts[1], tags[s][tagnumber])
end
tags[s][1].selected = true
end
-- Initialize tags in awesome 3.2
--tags = {}
--for s = 1, screen.count() do
-- tags[s] = {}
-- for i, v in ipairs(tag_settings) do
-- tags[s][i] = tag(v.name)
-- tags[s][i].screen = s
-- awful.tag.setproperty(tags[s][i], "layout", v.layout)
-- end
-- tags[s][1].selected = true
--end
-- }}}
You need to install an RTFM interface.
Offline