Only create a single tag per screen to begin with
This commit is contained in:
parent
cd7bdc03cf
commit
882ca4b99d
1 changed files with 11 additions and 3 deletions
|
@ -132,9 +132,17 @@ 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
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue