X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/418e475b5b4eb8404e115d74fdb3756169877278..bceaadb433b82fe31f3d9608fd01ea4021ddffe6:/helpers.lua?ds=sidebyside 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 }