From 68aa86654dc5e48af7f4ed896c89926646135afa Mon Sep 17 00:00:00 2001 From: luke bonham Date: Wed, 11 Sep 2013 00:10:53 +0200 Subject: [PATCH 1/1] wiki updated --- widgets/fs.lua | 2 +- widgets/net.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/fs.lua b/widgets/fs.lua index f934248..3a36bf3 100644 --- a/widgets/fs.lua +++ b/widgets/fs.lua @@ -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('') diff --git a/widgets/net.lua b/widgets/net.lua index f05235b..e086c4b 100644 --- a/widgets/net.lua +++ b/widgets/net.lua @@ -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('') -- 2.39.5