X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e0d4a89435d68714c0cee849625e0b14edca3d1c..32eddd514f8ccc35eeaa128a441f6a47708e6a04:/widgets/pulsebar.lua?ds=inline diff --git a/widgets/pulsebar.lua b/widgets/pulsebar.lua index 284b886..8cf8566 100644 --- a/widgets/pulsebar.lua +++ b/widgets/pulsebar.lua @@ -136,10 +136,7 @@ local function worker(args) end) end - - timer_id = string.format("pulsebar-%s", pulsebar.sink) - - helpers.newtimer(timer_id, timeout, pulsebar.update) + helpers.newtimer(string.format("pulsebar-%s", pulsebar.sink), timeout, pulsebar.update) return pulsebar end