Add initial kmonad config (for Ronin first)

This commit is contained in:
Evie Litherland-Smith 2023-11-10 16:41:27 +00:00
parent 9ecb15d04f
commit 04ba64b45c

31
hosts/Ronin/kmonad.kbd Normal file
View file

@ -0,0 +1,31 @@
(defcfg
;; For Linux
input (device-file "/dev/input/by-id/usb-0430_Sun_USB_Keyboard-event-kbd")
output (uinput-sink "My KMonad output")
;; Comment this if you want unhandled events not to be emitted
fallthrough true
;; Set this to false to disable any command-execution in KMonad
allow-cmd false
)
(defsrc
a s d f g h j k l ;
)
(defalias
met_a (tap-hold-next-release 200 a lmet)
alt_s (tap-hold-next-release 200 s lalt)
ctl_d (tap-hold-next-release 200 d lctl)
sft_f (tap-hold-next-release 200 f lsft)
sft_j (tap-hold-next-release 200 j rsft)
ctl_k (tap-hold-next-release 200 k rctl)
alt_l (tap-hold-next-release 200 l lalt)
met_; (tap-hold-next-release 200 ; rmet)
)
(deflayer homerowmods
@met_a @alt_s @ctl_d @sft_f g h @sft_j @ctl_k @alt_l @met_;
)