The content of this repo has been merged with the awesome-hammerspoon repo. All further contents will be added there.
Collection of useful snippets for Hammerspoon. Feel free to make PRs to add some snippets.
Snippets added should:
- work as standalone snippets
- have a comment at the top what it does
- ideally also have at some rudimentary comments explaining how it works, so we can all learn
Download the Alfred Workflow, and use the keyword hs
to search the Hammerspoon online Docs.
- Set up lua-ls in the IDE of your choice.
- Install the EmmyLua Spoon and follow the instructions.
- Restart your IDE, you should now have completions and hover documentation for Hammerspoon.
The Hammerspoon wiki contains several example configs.