karabiner fixes for keykey
This commit is contained in:
parent
dd8f28a3cb
commit
9d391474e8
@ -5,13 +5,17 @@
|
|||||||
:held 800
|
:held 800
|
||||||
:sim 50}}
|
:sim 50}}
|
||||||
|
|
||||||
|
:applications {:keykey ["^com\\.chekazuja\\.keykey$"]}
|
||||||
|
|
||||||
:input-sources {:en {:language "en"}
|
:input-sources {:en {:language "en"}
|
||||||
:ru {:language "ru"}}
|
:ru {:language "ru"}}
|
||||||
|
|
||||||
:templates {:open "open -a '%s'"}
|
:templates {:open "open -a '%s'"}
|
||||||
|
|
||||||
:main [{:des "Backslash<->open_bracket on advantage2"
|
:main [{:des "Backslash<->open_bracket on advantage2"
|
||||||
:rules [:adv2 [:##open_bracket :backslash :ru]
|
:rules [:adv2 [:open_bracket :!R5 [:ru :keykey]]
|
||||||
|
[:##open_bracket :!R8 [:ru :keykey]]
|
||||||
|
[:##open_bracket :backslash [:ru :!keykey]]
|
||||||
[:##backslash :open_bracket :ru]]}
|
[:##backslash :open_bracket :ru]]}
|
||||||
|
|
||||||
{:des "Caps->English, LShift->Russian"
|
{:des "Caps->English, LShift->Russian"
|
||||||
|
@ -27,11 +27,11 @@ alias l "ls -la"
|
|||||||
abbr lsn littlesnitch
|
abbr lsn littlesnitch
|
||||||
|
|
||||||
function sss
|
function sss
|
||||||
python ~/.config/scripts/ss.py --model gpt-3.5-turbo $argv
|
python3 ~/.config/scripts/ss.py --model gpt-3.5-turbo $argv
|
||||||
end
|
end
|
||||||
|
|
||||||
function ss
|
function ss
|
||||||
python ~/.config/scripts/ss.py $argv
|
python3 ~/.config/scripts/ss.py $argv
|
||||||
end
|
end
|
||||||
|
|
||||||
function s
|
function s
|
||||||
|
@ -260,6 +260,57 @@
|
|||||||
"rules" : [ {
|
"rules" : [ {
|
||||||
"description" : "Backslash<->open_bracket on advantage2",
|
"description" : "Backslash<->open_bracket on advantage2",
|
||||||
"manipulators" : [ {
|
"manipulators" : [ {
|
||||||
|
"from" : {
|
||||||
|
"key_code" : "open_bracket"
|
||||||
|
},
|
||||||
|
"to" : [ {
|
||||||
|
"key_code" : "5",
|
||||||
|
"modifiers" : [ "right_shift" ]
|
||||||
|
} ],
|
||||||
|
"conditions" : [ {
|
||||||
|
"input_sources" : [ {
|
||||||
|
"language" : "ru"
|
||||||
|
} ],
|
||||||
|
"type" : "input_source_if"
|
||||||
|
}, {
|
||||||
|
"type" : "frontmost_application_if",
|
||||||
|
"bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ]
|
||||||
|
}, {
|
||||||
|
"identifiers" : [ {
|
||||||
|
"vendor_id" : 10730,
|
||||||
|
"product_id" : 258
|
||||||
|
} ],
|
||||||
|
"type" : "device_if"
|
||||||
|
} ],
|
||||||
|
"type" : "basic"
|
||||||
|
}, {
|
||||||
|
"from" : {
|
||||||
|
"key_code" : "open_bracket",
|
||||||
|
"modifiers" : {
|
||||||
|
"optional" : [ "any" ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to" : [ {
|
||||||
|
"key_code" : "8",
|
||||||
|
"modifiers" : [ "right_shift" ]
|
||||||
|
} ],
|
||||||
|
"conditions" : [ {
|
||||||
|
"input_sources" : [ {
|
||||||
|
"language" : "ru"
|
||||||
|
} ],
|
||||||
|
"type" : "input_source_if"
|
||||||
|
}, {
|
||||||
|
"type" : "frontmost_application_if",
|
||||||
|
"bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ]
|
||||||
|
}, {
|
||||||
|
"identifiers" : [ {
|
||||||
|
"vendor_id" : 10730,
|
||||||
|
"product_id" : 258
|
||||||
|
} ],
|
||||||
|
"type" : "device_if"
|
||||||
|
} ],
|
||||||
|
"type" : "basic"
|
||||||
|
}, {
|
||||||
"from" : {
|
"from" : {
|
||||||
"key_code" : "open_bracket",
|
"key_code" : "open_bracket",
|
||||||
"modifiers" : {
|
"modifiers" : {
|
||||||
@ -274,6 +325,9 @@
|
|||||||
"language" : "ru"
|
"language" : "ru"
|
||||||
} ],
|
} ],
|
||||||
"type" : "input_source_if"
|
"type" : "input_source_if"
|
||||||
|
}, {
|
||||||
|
"type" : "frontmost_application_unless",
|
||||||
|
"bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ]
|
||||||
}, {
|
}, {
|
||||||
"identifiers" : [ {
|
"identifiers" : [ {
|
||||||
"vendor_id" : 10730,
|
"vendor_id" : 10730,
|
||||||
|
Loading…
Reference in New Issue
Block a user