nichts/modules/services/kanata/main.kbd

44 lines
1.8 KiB
Text
Raw Permalink Normal View History

2025-03-31 14:27:58 +02:00
;; Source layer for my DasKeyboard 4 Professional and my Laptop
2025-03-31 11:04:54 +02:00
(defsrc
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ]
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 comp rctl
)
2025-03-31 11:17:26 +02:00
;; Default qwerty layer to use
2025-03-31 11:04:54 +02:00
(deflayer qwerty
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ]
@esc a s d f g h j k l ; ' \ ret
lsft < z x c v b n m , . / rsft
@lay lmet lalt spc ralt rmet comp rctl
)
2025-03-31 11:17:26 +02:00
;; graphite layer
;; TODO: add non-regular shifted keys
2025-03-31 11:04:54 +02:00
(deflayer graphite
Backquote 1 2 3 4 5 6 7 8 9 0 [ ] bspc
tab b l d w z ' f o u j ; =
@esc n r t s g y h a e i , \ ret
lsft < q x m c v k p . - / rsft
@lay lmet lalt spc ralt rmet comp rctl
)
2025-03-31 11:17:26 +02:00
;; layout switching
2025-03-31 11:04:54 +02:00
(deflayer layouts
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ @qwe _ _ _ _ _ _ _ _ _ _ _
caps _ _ _ _ @gra _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _
)
(defalias
esc (tap-hold-release 200 200 esc lctl)
;; spc (tap-hold-release 200 200 spc @sym)
qwe (layer-switch qwerty)
gra (layer-switch graphite)
;; la1 (layer-toggle graphite-2)
lay (layer-toggle layouts)
)