I was wondering what I should use when I am declaring a new widget. Because to me
local some_widget = wibox({})
and
local some_widget = wibox.widget {}
is the same
I was wondering what I should use when I am declaring a new widget. Because to me
local some_widget = wibox({})
and
local some_widget = wibox.widget {}
is the same
Wibox (widget box) is a special type of window where you put custom widgets.
The widgets are the things you put in a wibox.
The wibox is (mostly) the base class for other type of bar/popups/titlebars/tooltip/menus across AwesomeWM. You rarely create them directly. Widgets, on the other hand, is something that is more commonly used.