Repository navigation
0.0.14
IMPORTANT NOTE
This pre-release includes a significant change to the way some Hammerspoon objects are garbage collected by JavaScript.
If an object is "running" or "active" in some way, such as a hotkey or a watcher, you no longer need to hold a reference to it yourself, it will remain alive until it completes its work or is otherwise destroyed.
It is likely that this has introduced some new bugs - please report them as issues here.
Added
- Documentation now includes a guide for using TypeScript for your configuration
hs.fsnow offers API for opening/reading/writing files
Changed
hs.hotkeyhotkeys now remap themselves when keyboard layout changes, so they remain consistent.on()watchers now reject invalid event nameshs.canvasobjects can now receive right mouse clickshs.window.focus()no longer raises all windows of an applicationhs.taskspawned processes are reaped more enthusiastically when terminatedhs.menubaritems can now receive middle/right/other mouse clicks
Fixed
hs.ipcand thehs2command line tool now actually workhs.choosershadows no longer clip to a rectangular shape