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”
}
\]
}