Skip to content

Instantly share code, notes, and snippets.

@lucifr
lucifr / init.lua
Last active June 4, 2022 19:21
My Hammerspoon config file
-- -------------------------------
-- Watcher for changes of init.lua
-- -------------------------------
function reloadConfig(files)
doReload = false
for _,file in pairs(files) do
if file:sub(-4) == ".lua" then
doReload = true
end
end