From: luke bonham Date: Tue, 10 Sep 2013 22:10:53 +0000 (+0200) Subject: wiki updated X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/701549145d89db1c1d500ff2ffcda66fe843bd30?ds=sidebyside;hp=8d37b9a1e4521a220f20ce2e1414f656aa3a5015 wiki updated --- 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('')