I have a set of tags 'main', 'www', and 3:
-- {{{ Tags
tags = {
names = {"main", "www", 3},
for s = 1, screen.count() do
tags[s] = awful.tag(tags.names, s, tags.layout)
end
}
-- }}}
I want Firefox to open in tag "www". I've tried the following rule:
-- {{{ Rules
awful.rules.rules = {
{ rule = {class = "Firefox" },
properties = { tag = tags[1]["www"] }},
}
-- }}}
However, if I hit Super+R then type 'firefox' or run 'firefox &' from a terminal, Firefox opens in whatever tag I'm viewing.
I've tried {class = "firefox"} and properties = { tag = tags[1][2] } but those modified rules did not work either.
What is the correct way to set up a rule to make firefox always open in a particular tag?