mirror of https://github.com/lcpz/lain.git
wiki updated
This commit is contained in:
parent
8d37b9a1e4
commit
701549145d
|
@ -53,8 +53,8 @@ local unit = { ["mb"] = 1024, ["gb"] = 1024^2 }
|
|||
|
||||
local function worker(args)
|
||||
local args = args or {}
|
||||
local partition = args.partition or "/"
|
||||
local timeout = args.timeout or 600
|
||||
local partition = args.partition or "/"
|
||||
local settings = args.settings or function() end
|
||||
|
||||
widget = wibox.widget.textbox('')
|
||||
|
|
|
@ -41,9 +41,9 @@ end
|
|||
|
||||
function worker(args)
|
||||
local args = args or {}
|
||||
local timeout = args.timeout or 2
|
||||
local iface = args.iface or net.get_device()
|
||||
local units = args.units or 1024 --kb
|
||||
local timeout = args.timeout or 2
|
||||
local settings = args.settings or function() end
|
||||
|
||||
widget = wibox.widget.textbox('')
|
||||
|
|
Loading…
Reference in New Issue