awesome-hammerspoon icon indicating copy to clipboard operation
awesome-hammerspoon copied to clipboard

Awesome code snippets for the Hammerspoon Desktop Automation Utility

awesome-hammerspoon

Awesome code snippets for the Hammerspoon Desktop Automation Utility

  • Docs for the snippets
  • Code Snippets

Documentation Search with Alfred

Download the Alfred Workflow, and use the keyword hs to search the Hammerspoon online Docs.

LSP Support for Hammerspoon

  1. Set up lua-ls in the IDE of your choice.
  2. Install the EmmyLua Spoon and follow the instructions.
  3. Restart your IDE, you should now have completions and hover documentation for Hammerspoon.

Example Configs

The Hammerspoon wiki also has several example configs.