diff options
| author | kkard2 <[email protected]> | 2024-09-09 21:12:19 +0200 |
|---|---|---|
| committer | kkard2 <[email protected]> | 2024-09-09 21:18:43 +0200 |
| commit | de0ef0e373948c2b8efa4e89bfceb84b9c47c2e1 (patch) | |
| tree | dbda9ae156ba136a79edc1b819b8e8f1d4c256d5 | |
| parent | 5ce42838678d408dd8a38a604c6d9516cb2c2ec0 (diff) | |
amend: actually this doesn't work, which is very sad
i will not fix this rn
| -rwxr-xr-x | kanata/chords.py | 4 | ||||
| -rw-r--r-- | kanata/kanata.kbd | 26 |
2 files changed, 23 insertions, 7 deletions
diff --git a/kanata/chords.py b/kanata/chords.py index 7b6fbb2..1400ad0 100755 --- a/kanata/chords.py +++ b/kanata/chords.py @@ -22,10 +22,10 @@ for keys, macro in chord_data.items(): macro_formatted += f"(unicode {char}) " macro_formatted = macro_formatted.strip() - release = "all-released" + release = "first-release" chord_line = f" ({keys_formatted}) (macro {first_char_macro} { - macro_formatted}) 75 {release} (arrows)\n" + macro_formatted}) 75 {release} (gaming)\n" output += chord_line output += ")\n" diff --git a/kanata/kanata.kbd b/kanata/kanata.kbd index 6cc3782..3b27728 100644 --- a/kanata/kanata.kbd +++ b/kanata/kanata.kbd @@ -1,7 +1,7 @@ (defcfg process-unmapped-keys yes concurrent-tap-hold yes - chords-v2-min-idle-experimental 200 + chords-v2-min-idle-experimental 5 ) (defsrc @@ -10,6 +10,9 @@ caps a s d f g h j k l ; ' ret lsft z x c v b n m , . / rsft lctl lmet lalt spc ralt rmet rctl + + NumpadDivide + NumpadMultiply ) (deflayer default @@ -18,6 +21,20 @@ @cap _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + (layer-switch default) + (layer-switch gaming) +) + +(deflayer gaming + _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ _ + @cap _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ + + (layer-switch default) + (layer-switch gaming) ) (deflayer arrows @@ -26,6 +43,9 @@ _ _ _ _ _ _ left down up rght _ _ _ _ _ _ _ _ @cle _ _ _ _ _ _ _ _ _ _ _ _ _ + + _ + _ ) (defalias @@ -35,7 +55,3 @@ ) (include chords.kbd) - -;;(defchordsv2-experimental -;; (a s d) (macro h (unshift e) (unshift l) (unshift l) (unshift o)) 75 all-released (arrows) -;;) |
