From 6f2b39a2669910a05ba116b804033349024e3e8c Mon Sep 17 00:00:00 2001 From: Luke Bonham Date: Sun, 25 Jun 2017 13:16:10 +0200 Subject: [PATCH 1/1] counter pull #344: don't rely on awful.layout.layouts array, but point directly to tile layout --- util/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5