skbd runs a shell command when you press a shortcut. It watches key presses through Quartz Event Services, so a binding can tell the left and right modifier keys apart.

Each line of the configuration file is one binding:

hyper - t: open -a Terminal
lcmd + shift - k: open -a Safari

skbd reloads the file when you save it, so a new binding works straight away.

Start here #

  1. Install skbd, write a first binding, and grant Accessibility permission.
  2. Write bindings with modifiers, named keys, and key codes.
  3. Pair it with swm to move windows from the keyboard.

Requirements #

  • macOS 26 or later
  • Accessibility permission for skbd
  • Swift 6.4 or later and the macOS SDK when building from source

Documentation

Search docs

Enter a word or command.