update darwin firefox and add small convenience tweaks

This commit is contained in:
Noah Masur committed 2023-09-06 15:21:59 -04:00
1 parent 67251a6d8d
commit 1a9ab975d1
4 files changed
+19 -3

No files matched your search

@@ -55,6 +55,15 @@ local function worklayout()
local layout = concat(left, right, laptop)
hs.layout.apply(layout)
end)
-- Reload Hammerspoon whenever layout changes
hs.screen.watcher.new(function()
-- Pause for 5 seconds to give time for layout to change
hs.timer.doAfter(5, function()
-- Perform the actual reload
hs.reload()
end)
end)
end
return worklayout