pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.63k stars 836 forks source link

Allow detecting special windows for frontmost_application_if #3841

Open eugenesvk opened 3 months ago

eugenesvk commented 3 months ago

I'd like to be able to disable some Karabiner keybinds when AltTab application switcher window is active

However, using the frontmost_application_unless https://karabiner-elements.pqrs.org/docs/json/complex-modifications-manipulator-definition/conditions/frontmost-application/ with "^com\\.lwouis\\.alt-tab-macos$" doesn't seem to work, I guess due to the fact that this is a special kind of window

I'd like to be able to detect it nonetheless, so would it be possible to add some frontmost_hidden_window_unless command and use whatever identifier is available on a Mac (window class/name/etc)

Thanks!

5HT2 commented 3 weeks ago

I would also very much appreciate such a feature - I have a very similar use-case to the one described in the original AltTab issue.