X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/94e6be5b42f4bc1762ae76a796af59bfd8ea25ed..a6959d99c42658eae495ec0c229d5fe102b42234:/widgets/base.lua?ds=inline diff --git a/widgets/base.lua b/widgets/base.lua index e1ce297..cd84e36 100644 --- a/widgets/base.lua +++ b/widgets/base.lua @@ -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