[hammerspoon] add debug function for Quitter

pull/41/head
Alpha Chen 3 years ago
parent f46cc2910c
commit d346b6fe3e

@ -116,4 +116,13 @@ function obj:reap()
end end
end end
function obj:debug()
local lastFocused = hs.fnutils.map(
spoon.Quitter.lastFocused,
function(t)
return os.date("!%Y-%m-%dT%TZ", t)
end)
print(hs.inspect(lastFocused))
end
return obj return obj

Loading…
Cancel
Save