hyper preparation
This commit is contained in:
parent
0b64a0cfbf
commit
48f9559849
@ -10,26 +10,27 @@
|
||||
|
||||
: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]
|
||||
[:#Sbackslash :open_bracket :ru]]}
|
||||
|
||||
[:##backslash :open_bracket :ru]]}
|
||||
|
||||
{:des "Caps->English, LShift->Russian"
|
||||
:rules [[:##left_shift :left_shift nil {:alone {:input :ru}}]
|
||||
[:##caps_lock ["hyper" 1] nil {:alone {:input :en}
|
||||
[:##caps_lock ["capskey" 1] nil {:alone {:input :en}
|
||||
:held :caps_lock
|
||||
:afterup ["hyper" 0]}]]}
|
||||
|
||||
:afterup ["capskey" 0]}]]}
|
||||
{:des "Tab as Hyper"
|
||||
:rules [[:tab [:command :option :shift :control] nil {:alone :tab}]]}
|
||||
|
||||
{:des "Caps+T to start Kitty, Caps+B->Bing, Caps+G->Bard, Caps+O->Poe, Caps+P->ChatGPT4, Caps+␣->AllGPT"
|
||||
:rules [:hyper [:t [:open "/Applications/kitty.app"]]
|
||||
[:b [:open "/Users/anton/Applications/Brave Browser Apps.localized/Bing AI.app"]]
|
||||
[:g [:open "/Users/anton/Applications/Brave Browser Apps.localized/Bard.app"]]
|
||||
[:o [:open "/Users/anton/Applications/Brave Browser Apps.localized/Poe.app"]]
|
||||
[:p [:open "/Users/anton/Applications/Brave Browser Apps.localized/ChatGPT4.app"]]
|
||||
[:v [:open "/Users/anton/Applications/Brave Browser Apps.localized/Vikunja.app"]]
|
||||
[:spacebar [:open "/Users/anton/Applications/Brave Browser Apps.localized/GPT.app"]]
|
||||
]}
|
||||
:rules [:capskey [:t [:open "/Applications/kitty.app"]]
|
||||
[:b [:open "/Users/anton/Applications/Brave Browser Apps.localized/Bing AI.app"]]
|
||||
[:g [:open "/Users/anton/Applications/Brave Browser Apps.localized/Bard.app"]]
|
||||
[:o [:open "/Users/anton/Applications/Brave Browser Apps.localized/Poe.app"]]
|
||||
[:p [:open "/Users/anton/Applications/Brave Browser Apps.localized/ChatGPT4.app"]]
|
||||
[:v [:open "/Users/anton/Applications/Brave Browser Apps.localized/Vikunja.app"]]
|
||||
[:spacebar [:open "/Users/anton/Applications/Brave Browser Apps.localized/GPT.app"]]
|
||||
]}
|
||||
|
||||
{:des "RShift->comma"
|
||||
:rules [[:##right_shift :right_shift :ru {:alone :!R6}]
|
||||
|
@ -38,3 +38,6 @@ end
|
||||
function icat
|
||||
kitty +kitten icat --align=left $argv
|
||||
end
|
||||
|
||||
# The next line updates PATH for the Google Cloud SDK.
|
||||
if [ -f '/Users/anton/dev/google-cloud-sdk/path.fish.inc' ]; . '/Users/anton/dev/google-cloud-sdk/path.fish.inc'; end
|
||||
|
@ -258,7 +258,7 @@
|
||||
"basic.to_if_held_down_threshold_milliseconds" : 800
|
||||
},
|
||||
"rules" : [ {
|
||||
"description" : "Backslash<->Open_Bracket on Advantage2",
|
||||
"description" : "Backslash<->open_bracket on advantage2",
|
||||
"manipulators" : [ {
|
||||
"from" : {
|
||||
"key_code" : "open_bracket",
|
||||
@ -286,7 +286,7 @@
|
||||
"from" : {
|
||||
"key_code" : "backslash",
|
||||
"modifiers" : {
|
||||
"optional" : [ "left_shift" ]
|
||||
"optional" : [ "any" ]
|
||||
}
|
||||
},
|
||||
"to" : [ {
|
||||
@ -335,7 +335,7 @@
|
||||
} ],
|
||||
"to_after_key_up" : [ {
|
||||
"set_variable" : {
|
||||
"name" : "hyper",
|
||||
"name" : "capskey",
|
||||
"value" : 0
|
||||
}
|
||||
} ],
|
||||
@ -347,12 +347,32 @@
|
||||
},
|
||||
"to" : [ {
|
||||
"set_variable" : {
|
||||
"name" : "hyper",
|
||||
"name" : "capskey",
|
||||
"value" : 1
|
||||
}
|
||||
} ],
|
||||
"type" : "basic"
|
||||
} ]
|
||||
}, {
|
||||
"description" : "Tab as Hyper",
|
||||
"manipulators" : [ {
|
||||
"to_if_alone" : [ {
|
||||
"key_code" : "tab"
|
||||
} ],
|
||||
"from" : {
|
||||
"key_code" : "tab"
|
||||
},
|
||||
"to" : [ {
|
||||
"key_code" : "command"
|
||||
}, {
|
||||
"key_code" : "option"
|
||||
}, {
|
||||
"key_code" : "shift"
|
||||
}, {
|
||||
"key_code" : "control"
|
||||
} ],
|
||||
"type" : "basic"
|
||||
} ]
|
||||
}, {
|
||||
"description" : "Caps+T to start Kitty, Caps+B->Bing, Caps+G->Bard, Caps+O->Poe, Caps+P->ChatGPT4, Caps+␣->AllGPT",
|
||||
"manipulators" : [ {
|
||||
@ -363,7 +383,7 @@
|
||||
"shell_command" : "open -a '/Applications/kitty.app'"
|
||||
} ],
|
||||
"conditions" : [ {
|
||||
"name" : "hyper",
|
||||
"name" : "capskey",
|
||||
"value" : 1,
|
||||
"type" : "variable_if"
|
||||
} ],
|
||||
@ -376,7 +396,7 @@
|
||||
"shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bing AI.app'"
|
||||
} ],
|
||||
"conditions" : [ {
|
||||
"name" : "hyper",
|
||||
"name" : "capskey",
|
||||
"value" : 1,
|
||||
"type" : "variable_if"
|
||||
} ],
|
||||
@ -389,7 +409,7 @@
|
||||
"shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Bard.app'"
|
||||
} ],
|
||||
"conditions" : [ {
|
||||
"name" : "hyper",
|
||||
"name" : "capskey",
|
||||
"value" : 1,
|
||||
"type" : "variable_if"
|
||||
} ],
|
||||
@ -402,7 +422,7 @@
|
||||
"shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Poe.app'"
|
||||
} ],
|
||||
"conditions" : [ {
|
||||
"name" : "hyper",
|
||||
"name" : "capskey",
|
||||
"value" : 1,
|
||||
"type" : "variable_if"
|
||||
} ],
|
||||
@ -415,7 +435,7 @@
|
||||
"shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/ChatGPT4.app'"
|
||||
} ],
|
||||
"conditions" : [ {
|
||||
"name" : "hyper",
|
||||
"name" : "capskey",
|
||||
"value" : 1,
|
||||
"type" : "variable_if"
|
||||
} ],
|
||||
@ -428,7 +448,7 @@
|
||||
"shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/Vikunja.app'"
|
||||
} ],
|
||||
"conditions" : [ {
|
||||
"name" : "hyper",
|
||||
"name" : "capskey",
|
||||
"value" : 1,
|
||||
"type" : "variable_if"
|
||||
} ],
|
||||
@ -441,7 +461,7 @@
|
||||
"shell_command" : "open -a '/Users/anton/Applications/Brave Browser Apps.localized/GPT.app'"
|
||||
} ],
|
||||
"conditions" : [ {
|
||||
"name" : "hyper",
|
||||
"name" : "capskey",
|
||||
"value" : 1,
|
||||
"type" : "variable_if"
|
||||
} ],
|
||||
|
Loading…
Reference in New Issue
Block a user