X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/83ad59e0e7df53d257f1d70d0fe623a3e3b5596b..adccf47bdf7a9023ad20d8d5dcdaf8bfa4c563ab:/util/init.lua diff --git a/util/init.lua b/util/init.lua index 1fc5805..3f6dd0f 100644 --- a/util/init.lua +++ b/util/init.lua @@ -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[0] }):view_only() + awful.tag.add(name, { screen = awful.screen.focused(), layout = layout or awful.layout.suit.tile }):view_only() end } end