

Update 12/06/15 I’ve tweaked this a little to cover cases where there is no active window, see here for details. Have a look at the Hammerspoon API docs and go crazy. Turns out the current version of Karabiner doesn't work with Sierra (Oct-2016). My keyboard remapping of CAPS LOCK to Ctrl when pressing and Esc when tapping had stopped working after upgrading to macOS Sierra. Hammerspoon, and Mjolnir, can do a whole lot more than just window management and there’s oodles of room for endless tweaking if you’re so inclined. Playing with Hammerspoon I started using Hammerspoon recently. local pow hs.caffeinate.watcher local log hs.logger.new ('ssh-lock') local function. hammerspoon script - run key security scripts when the screen is locked and unlocked - NOTE this requires a patched Hammerspoon for the - session, screen saver, and screen lock hooks. Anything I can do to address this Jump to content. Enjoy and Good Luck com to see even more antiques & collectible tools. You probably also want to run hs.faultLogLevel 'info'. Via Synergy, the caps lock mapping does not work / it gets treated as caps lock.
#HAMMERSPOON CAPS LOCK HOW TO#
This all depends on having a Hyper key ( Command + Shift + Control + Alt) available – you can read how to set Caps Lock up as one in this post by the ever-awesome Brett Terpstra. Note that the swinging lever lock is missing from ALL. Hs.window.focusedWindow():focusWindowWest()
#HAMMERSPOON CAPS LOCK INSTALL#
Under some circumstances (particularly if you build Hammerspoon from source, or if you install different versions of it), you may end up with broken symlinks. Hs.window.focusedWindow():focusWindowEast() hs.ipc.cliInstall creates symlinks under /usr/local/ to the hs command and its manual page file, located inside the Hammerspoon application bundle.

Hs.window.focusedWindow():focusWindowNorth() hyper c for bottom right one quarter window hyper v for bottom left one quarter window hyper t for top right one quarter window hyper r for top left one quarter window I cobbled together a config that duplicates my Slate setup and have been using Hammerspoon as a drop-in replacement for the past few days and it’s working great. Is there any way, using only Hammerspoon, to set up CAPS LOCK to act as CTRL when pressed+held down, but pass ESC or som. Hammerspoon, like Mjolnir before it, depends on a simple lua config file, residing – in this case – in ~/.hammerspoon/a. My issue is as follows: I have my caps lock remapped to F18 using Karabiner Elements, and then Hammerspoon uses F18 as a 'hyper key' to perform app specific shortcuts. CAPS LOCK woes Issue 2350 Hammerspoon/hammerspoon GitHub Karabiner Elements has been causing a lot of crashes on my Macs running 10.15.4 lately. I decided to have a look at Mjolnir and that lead me to a recent fork of it called Hammerspoon. I’m so used to my Slate shortcuts now that changing to anything else seems like work. I’ve tried Spectacle, Moom and Divvy and none of them stuck. There is a fork that is active but I decided to have a look around at some of the options open to me for window management. My beloved Slate has seen no activity on github for two years and I fear that it has become abandonware.
