Collection of configuration files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
2.2 KiB

{
"title": "Sitnik-style Source Switching",
"rules": [
{
"description": "Caps Lock to en, Shift+Caps Lock to ru",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"mandatory": [
"shift"
]
}
},
"to": [
{
"select_input_source": {
"input_source_id": "^com\\.apple\\.keylayout\\.Russian$"
}
}
],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"select_input_source": {
"input_source_id": "dev.karamoff.keyboardlayout.deus"
}
}
],
"type": "basic"
}
]
},
{
"description": "Disable caps_lock delay (rev 1)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "caps_lock",
"hold_down_milliseconds": 200
},
{
"key_code": "vk_none"
}
]
}
]
}
]
}