X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/b3e4d796d0aa6e2f697aa61b6d89f5e754703d01..44facf162420816bdcfc851d4ff5e033996fa948:/widgets/net.lua diff --git a/widgets/net.lua b/widgets/net.lua index 1e59731..7851d5a 100644 --- a/widgets/net.lua +++ b/widgets/net.lua @@ -29,7 +29,7 @@ local net = { function net.get_device() f = io.popen("ip link show | cut -d' ' -f2,9") - ws = f:read("*all") + ws = f:read("*a") f:close() ws = ws:match("%w+: UP") if ws ~= nil then