X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/ddbf283f0ebbc6772d485fe76c5dccf338d3b837..2e5d0fbabcdaaeff9937c06e1db095569327957b:/widgets/base.lua diff --git a/widgets/base.lua b/widgets/base.lua index 9d7b710..2a8f507 100644 --- a/widgets/base.lua +++ b/widgets/base.lua @@ -14,12 +14,12 @@ local setmetatable = setmetatable -- lain.widgets.base local function worker(args) - local base = helpers.make_widget_textbox() + local base = { widget = wibox.widget.textbox() } local args = args or {} local timeout = args.timeout or 5 local nostart = args.nostart or false local stoppable = args.stoppable or false - local cmd = args.cmd or "" + local cmd = args.cmd local settings = args.settings or function() end function base.update()