nixos/system/kanata.kbd
Evie Litherland-Smith c47aa27321 Disable remapping caps to ctrl at xserver level
Use kanata to allow caps on tap and ctrl on hold.
2024-11-05 10:34:24 +00:00

29 lines
590 B
Plaintext

(defsrc
caps a s d f j k l ;
)
(defvar
tap-time 150
hold-time 200
)
(defalias
capsctrl (tap-hold 100 100 caps lctl)
a (tap-hold $tap-time $hold-time a lsft)
s (tap-hold $tap-time $hold-time s lalt)
d (tap-hold $tap-time $hold-time d lmet)
f (tap-hold $tap-time $hold-time f lctl)
j (tap-hold $tap-time $hold-time j lctl)
k (tap-hold $tap-time $hold-time k lmet)
l (tap-hold $tap-time $hold-time l lalt)
; (tap-hold $tap-time $hold-time ; lsft)
)
(deflayer base
@capsctrl @a @s @d @f @j @k @l @;
)
;; Local Variables:
;; mode: lisp
;; apheleia-mode: nil
;; End: