Only create a single tag per screen to begin with

This commit is contained in:
Tom Willemse 2015-02-26 09:39:38 +01:00
parent cd7bdc03cf
commit 882ca4b99d

View file

@ -132,10 +132,18 @@ end
-- {{{ Tags -- {{{ Tags
-- Define a tag table which hold all screen tags. -- Define a tag table which hold all screen tags.
tags = {} tags = {}
for s = 1, screen.count() do tags[1] = awful.tag({"Emacs"}, 1, awful.layout.suit.tile)
if screen.count() > 1 then
tags[2] = awful.tag({"Web"}, 2, awful.layout.suit.max)
if screen.count() > 2 then
for s = 3, screen.count() do
-- Each screen has its own tag table. -- 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] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1])
end end
end
end
-- }}} -- }}}
-- {{{ Menu -- {{{ Menu