You are not logged in.
currently, awesome opens with the first tag automatically selected
Offline
I did not test this, but look in /usr/share/awesome/lib/awful/tag.lua, line ~79:
function tag.new(names, screen, layout)
local screen = screen or 1
local tags = {}
for id, name in ipairs(names) do
table.insert(tags, id, tag.add(name, {screen = screen,
layout = (layout and layout[id]) or
layout}))
-- Select the first tag.
if id == 1 then
tags[id].selected = true
end
end
return tags
endI guess you can work from here.
Offline
great, this works
Offline
Good to hear. For the record, a more simple, though less elegant change would have been to add a corresponding line in the rc.lua:
{{{ Tags
-- Define a tag table which hold all screen tags.
tags = {}
for s = 1, screen.count() do
-- Each screen has its own tag table.
tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1])
tags[s][1].selected = false
end
-- }}}This would have the benefit of not vanishing on updates.
Offline