Fix placement of Conkeror on multi-head setups

This commit is contained in:
Tom Willemse 2014-08-26 15:34:33 +02:00
parent 4281a357f4
commit 7d994c389a

View file

@ -443,10 +443,13 @@ awful.rules.rules = {
-- properties = { tag = tags[1][2] } },
}
-- If there is more than one list of tags, add a rule that puts all
-- "Conkeror" windows on tag 1 of screen 2 (the second list of tags).
if #tags > 1 then
awful.util.table.join(awful.rules.rules,
{ { rule = { class = "Conkeror" },
properties = { tag = tags[2][1] } } })
awful.rules.rules =
awful.util.table.join(awful.rules.rules,
{ { rule = { class = "Conkeror" },
properties = { tag = tags[2][1] } } })
end
-- }}}