diff --git a/widget/task_preview.lua b/widget/task_preview.lua index 0531181..77c5657 100644 --- a/widget/task_preview.lua +++ b/widget/task_preview.lua @@ -38,7 +38,7 @@ local function get_widget_geometry(wibox, widget) end function task_preview:show(c, args) - args = args or {} + args = args or self.args or {} args.coords = args.coords or self.coords args.wibox = args.wibox @@ -256,4 +256,4 @@ function task_preview.mt:__call(...) return new(...) end -return setmetatable(task_preview, task_preview.mt) \ No newline at end of file +return setmetatable(task_preview, task_preview.mt)