local path = beautiful.path
local icon_only = true
+--TODO create a list of tag objects and place them according to number of screens (sb:20170130)
-- single screen {{{2
mytags[1] = {}
mytags[1][1] = {
-- Tags {{{2
tags = {}
local sc = screen.count()
-for s = 1, sc do
+awful.screen.connect_for_each_screen(function(screen)
+ local s = screen.index
tags[s] = {}
for i,p in ipairs(mytags[sc][s]) do
local props = {}
tags[s][i] = awful.tag.add(p.name, props)
end
tags[s][1].selected = true
-end
+end)