X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/229d2545dd399b52c6128a823657c6266fbbe8a9..ae4b9b272802c0690b711644508d63a538a3e1cd:/widgets/net.lua diff --git a/widgets/net.lua b/widgets/net.lua index 1dfef43..223f3af 100644 --- a/widgets/net.lua +++ b/widgets/net.lua @@ -97,12 +97,10 @@ local function worker(args) helpers.set_map(dev, true) end - -- Old api compatibility net_now.carrier = dev_now.carrier net_now.state = dev_now.state - -- And new api net_now.devices[dev] = dev_now - -- With the new api new_now.sent and net_now.received will be the + -- new_now.sent and net_now.received will be the -- totals across all specified devices end