X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/f7aa28919588d307083b4b5b1c010f26cbc63cde..14a3f6689ba5f3d189aa8d47f857dab1ffa2a3e7:/widgets/mem.lua diff --git a/widgets/mem.lua b/widgets/mem.lua index 986fa76..f6213b2 100644 --- a/widgets/mem.lua +++ b/widgets/mem.lua @@ -13,9 +13,7 @@ local wibox = require("wibox") local io = { lines = io.lines } local math = { floor = math.floor } -local string = { format = string.format, - gmatch = string.gmatch, - len = string.len } +local string = { gmatch = string.gmatch } local setmetatable = setmetatable @@ -25,7 +23,7 @@ local mem = {} local function worker(args) local args = args or {} - local timeout = args.timeout or 3 + local timeout = args.timeout or 2 local settings = args.settings or function() end mem.widget = wibox.widget.textbox('')