Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 573 Bytes

File metadata and controls

24 lines (16 loc) · 573 Bytes

Some Useful Spoons for Hammerspoon

Provide some useful Spoons. Clone the repository and double click the spoon you want to install.

LaunchITerm2.spoon

Quick Launch or focus iTerm2 through shortcut (default F12), and when press that shortcut again, quick focus previous application. Usage:

-- In your ~/.hammerspoon/init.lua

LaunchITerm2 = hs.loadSpoon('LaunchITerm2')

-- You can custom shortcut if F12 is not what you want
LaunchITerm2:bindHotKeys({
  toggle={{'fn'}, 'F11'}
})

-- Start
LaunchITerm2:start()

-- Stop
LaunchITerm2:stop()