nikitabobko / AeroSpace

AeroSpace is an i3-like tiling window manager for macOS
https://nikitabobko.github.io/AeroSpace/guide
MIT License
6.22k stars 101 forks source link

Feature request: Use any key as modifier #274

Closed FriedSnowman closed 3 months ago

FriedSnowman commented 3 months ago

Currently, only specific keys are seem to be supported as modifier. Is it possible to have any arbitrary key work as a modifier? In my use case, I have my caps key remapped to F19 (through hidutil) and I would like to use this key as a modifier.

f19-1 = 'workspace 1'
f19-2 = 'workspace 2'
f19-3 = 'workspace 3'
Failed to parse /Users/{user}/.aerospace.toml
mode.main.binding.f19-1: Can't parse modifiers in 'f19-1' binding
mode.main.binding.f19-2: Can't parse modifiers in 'f19-2' binding
mode.main.binding.f19-3: Can't parse modifiers in 'f19-3' binding
nikitabobko commented 3 months ago

Underlying macOS API doesn't allow that

FriedSnowman commented 3 months ago

I see, I guess I just assumed that this app was listening for all keypresses. Thanks for the explanation :)