Hacker News new | ask | show | jobs
by lawry 3953 days ago
I migrated from Slate [1] to Hammerspoon during a reinstall without any regrets so far. I've also noticed the things I always wanted to do with ControlPlane [2] are perfectly doable with Hammerspoon, if you put some time into reading the docs and api (they are really good). (Basically switching bluetooth on/off when I connect my keyboard, and quiting networking apps when I switch off WiFi without a cable connected, like droplr, dropbox...)

The most powerful thing about Hammerspoon seems that you build your .hammerspoon/init.lua with time, and as things tend to frustrate you more often, you put time into looking up how to optimise things by writing lua, oh and there's a console/repl, yay! A bit like my .vimrc really.

Btw, I use a Hyper-key that is mapped using karabiner [3], here's my private.xml [4]

1. https://github.com/mattr-/slate

2. http://www.controlplaneapp.com/

3. https://pqrs.org/osx/karabiner/

4. http://pastebin.com/raw.php?i=1EbhTEjd

A lot of this was inspired by Steve Losh, who does awesome stuff! checkout http://stevelosh.com/blog/2012/10/a-modern-space-cadet/ if you like this sort of stuff!