widget.base: Fix cached output

This commit is contained in:
Kobe Lipkens 2016-09-03 16:44:48 +02:00
parent f47454f25a
commit 2edf1241fe
1 changed files with 1 additions and 1 deletions

View File

@ -26,8 +26,8 @@ local function worker(args)
base.widget = wibox.widget.textbox('')
function base.update()
if output ~= base.prev then
output = read_pipe(cmd)
if output ~= base.prev then
widget = base.widget
settings()
base.prev = output