pqrs-org / Karabiner-archived

Karabiner (KeyRemap4MacBook) is a powerful utility for keyboard customization.
https://pqrs.org/osx/karabiner/
The Unlicense
3.82k stars 311 forks source link

Update broke karabiner.json #880

Open drewbailey opened 5 years ago

drewbailey commented 5 years ago

The latest update seems to have broken my karabiner.json config

[2019-04-24 16:47:56.435] [error] [grabber] karabiner.json error: `to_if_alone` entry error: `modifiers` error: json must be array or string, but is `{"optional":["any"]}`

Updating my config from

                                "to_if_alone": [
                                    {
                                        "key_code": "escape",
                                        "modifiers": {
                                            "optional": [
                                                "any"
                                            ]
                                        }
                                    }
                                ],

to

                                "to_if_alone": [
                                    {
                                        "key_code": "escape",
                                        "modifiers": "any"
                                    }
                                ],

seems to work but it seems like this will likely effect more people

ipalindromi commented 5 years ago

Also experiencing this issue!