X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/1542a800fdee1e009bb19f45d3bcaf9591958b92..c89fc17636ac1d52ee9ca2f66c5033f9ea7e50fa:/util/init.lua?ds=sidebyside 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