Skip to content

Instantly share code, notes, and snippets.

@lucifr
lucifr / init.lua
Last active September 26, 2024 15:57
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