Comma on caps experiment

This commit is contained in:
Anton Volnuhin 2023-06-08 17:20:24 +03:00
parent cd279a175f
commit 5213a3f50c

View File

@ -21,12 +21,16 @@
{:des "Caps->Russian, LShift->English"
:rules [[:##left_shift :left_shift nil {:alone {:input :en}}]
[:##caps_lock ["capskey" 1] nil {:alone {:input :ru}
[:##caps_lock ["capskey" 1] :ru {:alone :!R6
:held :caps_lock
:afterup ["capskey" 0]}]
[:##caps_lock ["capskey" 1] :en {:alone :comma
:held :caps_lock
:afterup ["capskey" 0]}]]}
{:des "Alternative language switches: Lcmd->English, Rcmd->Russian, Rshift-> Russian"
:rules [[:left_command :left_command nil {:alone {:input :en}}]
[:right_command :right_command nil {:alone {:input :ru}}]
[:right_shift :right_shift nil {:alone {:input :ru}}]]}
{:des "Tab as Hyper(⌘+⌥+^+⇧)"
@ -40,14 +44,16 @@
[: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 "Ropt,Rcommand->Comma"
:rules [[:##right_option :right_shift :ru {:alone :!R6}]
[:##right_option :right_shift :en {:alone :comma}]
[:##right_command :right_command :ru {:alone :!R6}]]}]
[:##right_option :right_shift :en {:alone :comma}]]}
}
{:des "Rcommand -> comma, but not on advantage"
:rules [:!adv2 [:##right_command :right_command :ru {:alone :!R6}]]}]
}
;; this is a little bit weird, but it's convenient