mirror of https://github.com/lcpz/lain.git
counter pull #344: don't rely on awful.layout.layouts array, but point directly to tile layout
This commit is contained in:
parent
a99a67608e
commit
6f2b39a266
|
@ -117,7 +117,7 @@ function util.add_tag(layout)
|
|||
textbox = awful.screen.focused().mypromptbox.widget,
|
||||
exe_callback = function(name)
|
||||
if not name or #name == 0 then return end
|
||||
awful.tag.add(name, { screen = awful.screen.focused(), layout = layout or awful.layout.layouts[1] }):view_only()
|
||||
awful.tag.add(name, { screen = awful.screen.focused(), layout = layout or awful.layout.suit.tile }):view_only()
|
||||
end
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue