diff --git a/lib/awful/widget/button.lua b/lib/awful/widget/button.lua index a5dbee734..c5b4282bd 100644 --- a/lib/awful/widget/button.lua +++ b/lib/awful/widget/button.lua @@ -6,6 +6,7 @@ -- @author Julien Danjou <julien@danjou.info> -- @copyright 2008-2009 Julien Danjou -- @widgetmod awful.widget.button +-- @supermodule wibox.widget.imagebox --------------------------------------------------------------------------- local setmetatable = setmetatable @@ -65,10 +66,6 @@ function button.mt:__call(...) return button.new(...) end ---@DOC_widget_COMMON@ - ---@DOC_object_COMMON@ - return setmetatable(button, button.mt) -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/widget/clienticon.lua b/lib/awful/widget/clienticon.lua index 3d6a8238b..1ddc3f1bb 100644 --- a/lib/awful/widget/clienticon.lua +++ b/lib/awful/widget/clienticon.lua @@ -1,7 +1,10 @@ +--------------------------------------------------------------------------- --- Container showing the icon of a client. -- @author Uli Schlachter -- @copyright 2017 Uli Schlachter -- @widgetmod awful.widget.clienticon +-- @supermodule wibox.widget.base +--------------------------------------------------------------------------- local base = require("wibox.widget.base") local surface = require("gears.surface") @@ -123,10 +126,6 @@ client.connect_signal("property::icon", function(c) end end) ---@DOC_widget_COMMON@ - ---@DOC_object_COMMON@ - return setmetatable(clienticon, { __call = function(_, ...) return new(...) diff --git a/lib/awful/widget/launcher.lua b/lib/awful/widget/launcher.lua index 0b6e675ce..26a5882ed 100644 --- a/lib/awful/widget/launcher.lua +++ b/lib/awful/widget/launcher.lua @@ -11,6 +11,7 @@ -- @author Julien Danjou <julien@danjou.info> -- @copyright 2008-2009 Julien Danjou -- @widgetmod awful.widget.launcher +-- @supermodule awful.widget.button --------------------------------------------------------------------------- local setmetatable = setmetatable @@ -50,10 +51,6 @@ function launcher.mt:__call(...) return launcher.new(...) end ---@DOC_widget_COMMON@ - ---@DOC_object_COMMON@ - return setmetatable(launcher, launcher.mt) -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/widget/layoutbox.lua b/lib/awful/widget/layoutbox.lua index ca1a07196..a12d892cb 100644 --- a/lib/awful/widget/layoutbox.lua +++ b/lib/awful/widget/layoutbox.lua @@ -6,6 +6,7 @@ -- @author Julien Danjou <julien@danjou.info> -- @copyright 2009 Julien Danjou -- @widgetmod awful.widget.layoutbox +-- @supermodule wibox.layout.fixed --------------------------------------------------------------------------- local setmetatable = setmetatable diff --git a/lib/awful/widget/layoutlist.lua b/lib/awful/widget/layoutlist.lua index 43a702f9d..301724dc9 100644 --- a/lib/awful/widget/layoutlist.lua +++ b/lib/awful/widget/layoutlist.lua @@ -21,6 +21,7 @@ -- @author Emmanuel Lepage Vallee <elv1313@gmail.com> -- @copyright 2010, 2018 Emmanuel Lepage Vallee -- @widgetmod awful.widget.layoutlist +-- @supermodule wibox.widget.base ---------------------------------------------------------------------------- local capi = {screen = screen, tag = tag} @@ -444,8 +445,4 @@ local function new(_, args) return ret end ---@DOC_widget_COMMON@ - ---@DOC_object_COMMON@ - return setmetatable(module, {__call = new}) diff --git a/lib/awful/widget/only_on_screen.lua b/lib/awful/widget/only_on_screen.lua index b88ede6f6..368a6add8 100644 --- a/lib/awful/widget/only_on_screen.lua +++ b/lib/awful/widget/only_on_screen.lua @@ -5,6 +5,7 @@ -- @author Uli Schlachter -- @copyright 2017 Uli Schlachter -- @containermod awful.widget.only_on_screen +-- @supermodule wibox.widget.base --------------------------------------------------------------------------- local type = type @@ -129,10 +130,6 @@ capi.screen.connect_signal("property::outputs", function() end end) ---@DOC_widget_COMMON@ - ---@DOC_object_COMMON@ - return setmetatable(only_on_screen, only_on_screen.mt) -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/widget/prompt.lua b/lib/awful/widget/prompt.lua index 611b80a31..3fa2f9493 100644 --- a/lib/awful/widget/prompt.lua +++ b/lib/awful/widget/prompt.lua @@ -7,6 +7,7 @@ -- @copyright 2009 Julien Danjou -- @copyright 2018 Aire-One -- @widgetmod awful.widget.prompt +-- @supermodule wibox.container.background --------------------------------------------------------------------------- --- The prompt foreground color. @@ -158,10 +159,6 @@ function widgetprompt.mt:__call(...) return widgetprompt.new(...) end ---@DOC_widget_COMMON@ - ---@DOC_object_COMMON@ - return setmetatable(widgetprompt, widgetprompt.mt) -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80