X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/27ebd0a30d9634ea403a4c9f3c2139c2498faaea..47a00516d88c42378b487ba302835097c3138099:/helpers.lua diff --git a/helpers.lua b/helpers.lua index 4ece329..5e958c3 100644 --- a/helpers.lua +++ b/helpers.lua @@ -8,7 +8,7 @@ local debug = require("debug") -local capi = { timer = timer } +local capi = { timer = (type(timer) == 'table' and timer or require ("gears.timer")) } local io = { open = io.open, lines = io.lines, popen = io.popen }