karabiner fixes for keykey
This commit is contained in:
parent
dd8f28a3cb
commit
9d391474e8
@ -5,13 +5,17 @@
|
||||
:held 800
|
||||
:sim 50}}
|
||||
|
||||
:applications {:keykey ["^com\\.chekazuja\\.keykey$"]}
|
||||
|
||||
:input-sources {:en {:language "en"}
|
||||
:ru {:language "ru"}}
|
||||
|
||||
:templates {:open "open -a '%s'"}
|
||||
|
||||
: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]]}
|
||||
|
||||
{:des "Caps->English, LShift->Russian"
|
||||
|
@ -27,11 +27,11 @@ alias l "ls -la"
|
||||
abbr lsn littlesnitch
|
||||
|
||||
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
|
||||
|
||||
function ss
|
||||
python ~/.config/scripts/ss.py $argv
|
||||
python3 ~/.config/scripts/ss.py $argv
|
||||
end
|
||||
|
||||
function s
|
||||
|
@ -260,6 +260,57 @@
|
||||
"rules" : [ {
|
||||
"description" : "Backslash<->open_bracket on advantage2",
|
||||
"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" : {
|
||||
"key_code" : "open_bracket",
|
||||
"modifiers" : {
|
||||
@ -274,6 +325,9 @@
|
||||
"language" : "ru"
|
||||
} ],
|
||||
"type" : "input_source_if"
|
||||
}, {
|
||||
"type" : "frontmost_application_unless",
|
||||
"bundle_identifiers" : [ "^com\\.chekazuja\\.keykey$" ]
|
||||
}, {
|
||||
"identifiers" : [ {
|
||||
"vendor_id" : 10730,
|
||||
|
Loading…
Reference in New Issue
Block a user