X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/272844030a05df1807406245b84930ea4740e61b..a00417d8011690d977cbdab1f1378ec369e5f355:/widgets/net.lua diff --git a/widgets/net.lua b/widgets/net.lua index 983ec7a..a6cb3b6 100644 --- a/widgets/net.lua +++ b/widgets/net.lua @@ -12,6 +12,7 @@ local naughty = require("naughty") local wibox = require("wibox") local string = { format = string.format, match = string.match } +local tostring = tostring local setmetatable = setmetatable -- Network infos @@ -116,7 +117,7 @@ local function worker(args) settings() end - helpers.newtimer(net.iface, timeout, update) + helpers.newtimer("net-" .. tostring(net.iface), timeout, update) return net end