- Install Hammerspoon
- Copy
init.luaand all.applescriptfiles to~.hammerspoon/ - Start Hammerspoon and Hit
Reload Configfrom the Hammerspoon menu accessible from the toolbar on top
- The first part in
init.luaallows you to never have toReload Config(which is basically means loadinginit.luafile in Hammerspoon). It automatically reloads when you make any changes to the file and save. - When changes are made to the files in
~.hammerspoon/, copy these files back into your repo directory to commit to the remote repo - When saving any Applescript files, you will need to use the export to
textoption for it to work with Hammerspoon. This saves the file with the extension.applescript. The defualt extension,.scptdoes not work with Hammerspoon.