X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/4b634be781379140002b191b04e167a4460ae5f4..823659d83d1262bbd94821e8460822c0130fff56:/widgets/net.lua?ds=sidebyside 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