The tool itself is actually Windows-only, it seems.
Also, a more interesting question would be how to map caps lock to ctrl (or something else) on hold, and esc on tap, across platforms.
Also, a more interesting question would be how to map caps lock to ctrl (or something else) on hold, and esc on tap, across platforms.
Turns out you can enable caps2esc, which is mentioned in the blog post, on NixOS with a single line:
services.interception-tools.enable = true;Definitely agree. I'm a big fan of that behavior. It would be nice to have a single project that supports it cross-platform. At the moment, I'm doing:
On linux, https://github.com/alols/xcape .
On OSX, https://github.com/tekezo/Karabiner-Elements after some setup.
Not sure about windows. Maybe there's some AHK script out there for it?
`$ setxkbmap -option caps:escape` is exactly what I use. Very helpful of the author of the tool to include simpler/alternatives to the tool. Kudos!