diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 414c1397..3bdb6e6f 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -72,20 +72,11 @@ use_titlebar = false -- }}} -- {{{ Tags --- Define tags table. +-- Define a tag table which hold all screen tags. tags = {} for s = 1, screen.count() do -- Each screen has its own tag table. - tags[s] = {} - -- Create 9 tags per screen. - for tagnumber = 1, 9 do - tags[s][tagnumber] = tag { name = tagnumber } - -- Add tags to screen one by one - tags[s][tagnumber].screen = s - awful.layout.set(layouts[1], tags[s][tagnumber]) - end - -- I'm sure you want to see at least one tag. - tags[s][1].selected = true + tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s) end -- }}}