mirror of https://github.com/lcpz/lain.git
Merge pull request #226 from frizinak/master
widget.base: Fix cached output
This commit is contained in:
commit
2697333bdc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue