From: razamatan Date: Fri, 28 Jun 2019 07:24:01 +0000 (-0700) Subject: pulsebar: use devicetype and device instead of sink (null var) X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/b5352ef66f705de91157d4583eee728e4cbef8cb?ds=sidebyside;hp=f1964b40e49dff92abdff97b7bd0408435ed589f pulsebar: use devicetype and device instead of sink (null var) --- diff --git a/widget/pulsebar.lua b/widget/pulsebar.lua index 317468f..8846a4c 100644 --- a/widget/pulsebar.lua +++ b/widget/pulsebar.lua @@ -154,7 +154,7 @@ local function factory(args) end) end - helpers.newtimer(string.format("pulsebar-%s", pulsebar.sink), timeout, pulsebar.update) + helpers.newtimer(string.format("pulsebar-%s-%s", pulsebar.devicetype, pulsebar.device), timeout, pulsebar.update) return pulsebar end