From: Luke Bonham Date: Wed, 21 Jun 2017 11:01:26 +0000 (+0200) Subject: Merge pull request #344 from 2009/patch-5 X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/1542a800fdee1e009bb19f45d3bcaf9591958b92?hp=29dd7ad6fc130627d1f3ef1456e87f7992d6769b Merge pull request #344 from 2009/patch-5 Fix issue with `add_tag` when not using floating layout --- diff --git a/util/init.lua b/util/init.lua index 1fc5805..1163f49 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.layouts[1] }):view_only() end } end