mirror of https://github.com/lcpz/lain.git
#150 fix 2
This commit is contained in:
parent
d58ac139b6
commit
da1410677b
|
@ -35,14 +35,13 @@ local function worker(args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local args = args or {}
|
local args = args or {}
|
||||||
local timeout = args.timeout or 2
|
local timeout = args.timeout or 2
|
||||||
local units = args.units or 1024 --kb
|
local units = args.units or 1024 --kb
|
||||||
local notify = args.notify or "on"
|
local notify = args.notify or "on"
|
||||||
local screen = args.screen or 1
|
local screen = args.screen or 1
|
||||||
local settings = args.settings or function() end
|
local settings = args.settings or function() end
|
||||||
|
local iface = args.iface or net.get_device()
|
||||||
iface = args.iface or net.get_device()
|
|
||||||
|
|
||||||
net.widget = wibox.widget.textbox('')
|
net.widget = wibox.widget.textbox('')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue