X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/84654c7f09df7156f24e03b8e97bcda270ecec0c..794f5d3220d7793f553b8313b1b71313615fb197:/widget/net.lua?ds=sidebyside diff --git a/widget/net.lua b/widget/net.lua index 7e511a3..a72fc3d 100644 --- a/widget/net.lua +++ b/widget/net.lua @@ -1,10 +1,9 @@ - --[[ - - Licensed under GNU General Public License v2 - * (c) 2013, Luke Bonham - * (c) 2010-2012, Peter Hofmann - + + Licensed under GNU General Public License v2 + * (c) 2013, Luke Bonham + * (c) 2010-2012, Peter Hofmann + --]] local helpers = require("lain.helpers") @@ -16,8 +15,7 @@ local string = { format = string.format, match = string.match } -- lain.widget.net local function factory(args) - local net = { widget = wibox.widget.textbox(), devices = {} } - + local net = { widget = wibox.widget.textbox(), devices = {} } local args = args or {} local timeout = args.timeout or 2 local units = args.units or 1024 -- KB