X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/f4870b8858835726ea6f6562a0a3d7e092425595..62edd22cdb79e8afed8c54cdfc9424205018a6a7:/util/init.lua diff --git a/util/init.lua b/util/init.lua index 1fc5805..c43a9ed 100644 --- a/util/init.lua +++ b/util/init.lua @@ -1,15 +1,14 @@ - --[[ - - Lain - Layouts, widgets and utilities for Awesome WM - - Utilities section - - Licensed under GNU General Public License v2 - * (c) 2013, Luke Bonham - * (c) 2010-2012, Peter Hofmann - + + Lain + Layouts, widgets and utilities for Awesome WM + + Utilities section + + Licensed under GNU General Public License v2 + * (c) 2013, Luke Bonham + * (c) 2010-2012, Peter Hofmann + --]] local awful = require("awful") @@ -117,7 +116,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