Merge pull request #226 from frizinak/master

widget.base: Fix cached output
This commit is contained in:
Luke Bonham 2016-09-03 19:46:57 +02:00 committed by GitHub
commit 2697333bdc
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()
output = read_pipe(cmd)
if output ~= base.prev then
output = read_pipe(cmd)
widget = base.widget
settings()
base.prev = output