From: Luke Bonham Date: Sun, 25 Jun 2017 11:16:10 +0000 (+0200) Subject: counter pull #344: don't rely on awful.layout.layouts array, but point directly to... X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/6f2b39a2669910a05ba116b804033349024e3e8c?ds=sidebyside;hp=-c counter pull #344: don't rely on awful.layout.layouts array, but point directly to tile layout --- 6f2b39a2669910a05ba116b804033349024e3e8c diff --git a/util/init.lua b/util/init.lua index 1163f49..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[1] }):view_only() + awful.tag.add(name, { screen = awful.screen.focused(), layout = layout or awful.layout.suit.tile }):view_only() end } end