diff --git a/system/desktop.nix b/system/desktop.nix index 480cf2ca..b21d2178 100644 --- a/system/desktop.nix +++ b/system/desktop.nix @@ -57,7 +57,7 @@ package = pkgs.gnome3.gvfs; }; kanata = { - enable = true; + enable = false; keyboards.main = { config = builtins.readFile ./kanata.kbd; extraDefCfg = "process-unmapped-keys yes"; diff --git a/system/kanata.kbd b/system/kanata.kbd index e2849094..3837462f 100644 --- a/system/kanata.kbd +++ b/system/kanata.kbd @@ -6,19 +6,19 @@ ( defvar - tap-time 150 - hold-time 250 + tap-time 200 + hold-time 200 ) ( defalias - a-mod (tap-hold $tap-time $hold-time a lmet) - s-mod (tap-hold $tap-time $hold-time s lalt) - d-mod (tap-hold $tap-time $hold-time d lsft) - f-mod (tap-hold $tap-time $hold-time f lctl) - j-mod (tap-hold $tap-time $hold-time j lctl) - k-mod (tap-hold $tap-time $hold-time k lsft) - l-mod (tap-hold $tap-time $hold-time l lalt) + a-mod (tap-hold-press $tap-time $hold-time a lmet) + s-mod (tap-hold-press $tap-time $hold-time s lalt) + d-mod (tap-hold-press $tap-time $hold-time d lsft) + f-mod (tap-hold-press $tap-time $hold-time f lctl) + j-mod (tap-hold-press $tap-time $hold-time j lctl) + k-mod (tap-hold-press $tap-time $hold-time k lsft) + l-mod (tap-hold-press $tap-time $hold-time l lalt) ;-mod (tap-hold $tap-time $hold-time ; lmet) )