mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
997 lines
23 KiB
JSON
997 lines
23 KiB
JSON
{
|
|
"title": "Fn -> Hyper",
|
|
"rules": [
|
|
{
|
|
"description": "Fn + Letter -> Left_Shift + Left_Option + Left_Control + Left_Command + Letter",
|
|
"manipulators": [
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "grave_accent_and_tilde",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "grave_accent_and_tilde",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "1",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "1",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "2",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "2",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "3",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "3",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "4",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "4",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "5",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "5",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "6",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "6",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "7",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "7",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "8",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "8",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "9",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "9",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "0",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "0",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "hyphen",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "hyphen",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "equal_sign",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "equal_sign",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "q",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "q",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "w",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "w",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "e",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "e",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "r",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "r",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "t",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "t",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "y",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "y",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "u",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "u",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "i",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "i",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "o",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "o",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "p",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "p",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "open_bracket",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "open_bracket",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "close_bracket",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "close_bracket",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "backslash",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "backslash",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "a",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "a",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "s",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "s",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "d",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "d",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "f",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "f",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "g",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "g",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "h",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "h",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "j",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "j",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "k",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "k",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "l",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "l",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "semicolon",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "semicolon",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "quote",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "quote",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "z",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "z",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "x",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "x",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "c",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "c",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "v",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "v",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "b",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "b",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "n",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "n",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "m",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "m",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "comma",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "comma",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "period",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "period",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "slash",
|
|
"modifiers": {
|
|
"mandatory": ["fn"],
|
|
"optional": ["caps_lock"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "slash",
|
|
"modifiers": [
|
|
"left_shift",
|
|
"left_option",
|
|
"left_control",
|
|
"left_command"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|