Skip to content

Releases: cmsj/Hammerspoon2

0.0.4

01 Mar 12:06

Choose a tag to compare

  • Various internal refactors
  • Added hs.ui and hs.task

API docs: https://cmsj.github.io/Hammerspoon2/index.html

0.0.3

25 Dec 09:40

Choose a tag to compare

TypeScript can now actually be used for the user config, because require() is now implemented. Of note though, it's not a very fancy implementation and it can't understand modules/libraries - you just point it at a specific .js file. This will need to change over time, since JS require() implementations are usually more contextually aware, but this is enough for https://github.com/cmsj/Hammerspoon2/blob/main/docs/TYPESCRIPT.md to work end to end.

0.0.2

24 Dec 22:12

Choose a tag to compare

Add support for TypeScript by way of a .d.ts file and some documentation that can be used to set up a local TypeScript environment for writing user configs.

See https://github.com/cmsj/Hammerspoon2/blob/0.0.2/docs/TYPESCRIPT.md

IMPORTANT CAVEAT: I haven't written require() yet, so you'll have to move the resulting compiled config.js to init.js for now.

0.0.1

24 Dec 12:01

Choose a tag to compare

Very rough initial release to generate discussion.

Only a few of Hammerspoon's extensions are currently implemented. API docs for them are available at: https://cmsj.github.io/Hammerspoon2/index.html

Create your config file at ~/.config/hammerspoon2/init.js