karabiner: Updated config

This commit is contained in:
Christian Baer 2024-12-28 22:16:27 +01:00
parent 5effd669c5
commit 7a34d51e4f

View File

@ -3,6 +3,40 @@
{
"complex_modifications": {
"rules": [
{
"description": "Hyperkey",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"mandatory": ["shift"],
"optional": ["caps_lock"]
}
},
"to": [
{
"key_code": "left_shift",
"modifiers": ["left_command", "left_control", "left_option"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_command",
"modifiers": ["left_control", "left_option"]
}
],
"type": "basic"
}
]
},
{
"description": "Play/Pause controls spotify only when it's running",
"manipulators": [
@ -18,22 +52,6 @@
"type": "basic"
}
]
},
{
"description": "Caps Lock → Hyper Key without Shift (⌃⌥⌘)",
"manipulators": [
{
"from": { "key_code": "caps_lock" },
"to": [
{
"key_code": "left_command",
"modifiers": ["left_control", "left_option"]
}
],
"to_if_alone": [{ "key_code": "caps_lock" }],
"type": "basic"
}
]
}
]
},