Keyboard remapping, window management, and macOS automation — Hammerspoon and Karabiner-Elements.
Hammerspoon Lua guide for macOS window management. Build layouts, window snapping, and app-specific rules — replace 5 tools with one keyboard-driven script.
Karabiner-Elements tutorial for macOS keyboard customization. Turn Caps Lock into a hyper key, build modifier layers for symbols, and remap keys system-wide.
Create a keyboard-driven app switcher that replaces Cmd-Tab, build a custom menu bar with live system stats, and automate window layouts per application.
Go beyond simple key swaps. Build a Hyper key, create layered keyboard mappings, and set up app-specific profiles with Karabiner's complex modifications engine.
Create custom menu bar items in Hammerspoon — show battery, network, or any shell output as live status indicators written in Lua.
Define Karabiner-Elements complex modifications — tap-vs-hold layers, conditional remaps, and multi-key shortcuts for a smarter keyboard.
Build a clipboard history manager in Hammerspoon with fuzzy search and paste, all driven by a few Lua scripts.
Snap and tile macOS windows into grid layouts with Hammerspoon — recreate a tiling WM feel using Lua hotkeys.
Apply different keymaps per device in Karabiner-Elements so your laptop, mechanical, and gaming keyboards each behave their way.
A practical Hammerspoon cookbook — auto-trigger scripts on WiFi change, toggle Caffeine, and react to system events with Lua.