Karabiner-Element Profile Switching Hot-key

Hello,

I can get the Karabiner-Elements profile to switch one time, but once the profile has been switched, the key combination does not switch the profile back. “Brood War (Core) Activated” appears followed by “Test Profile Activated.”

This is the script I used (I cannot code, so thank you to those who helped me!):

{

“description”: “Cycle through profiles with option+x”,

“manipulators”: \[

{

“from”: {

“key\_code”: “x”,

“modifiers”: {

“mandatory”: \[“left\_option”\],

“optional”: \[“any”\]

}

},

“to”: \[{ “shell\_command”: “\~/.config/karabiner/assets/scripts/profile\_switcher.sh” }\],

“type”: “basic”

}

\]

}

Hi @MasterHegel ,

I think you have confused what this forum is about. It is not about the usage of JSON in Starcraft but using the Javascript/Typescript framework JSON Forms to render forms based on a JSON schema.

Good luck with your issue and feel free to come back with questions relating to JSON Forms anytime :slight_smile:

Best regards,
Stefan