diff --git a/lib/awful/widget/prompt.lua.in b/lib/awful/widget/prompt.lua.in index 9570bbd2..1702ca23 100644 --- a/lib/awful/widget/prompt.lua.in +++ b/lib/awful/widget/prompt.lua.in @@ -23,7 +23,7 @@ local function run(promptbox) function (...) local result = util.spawn(...) if type(result) == "string" then - promptbox.widget.text = result + promptbox.widget:set_text(result) end end, completion.shell,