[MAJOR] KMonad config
This commit is contained in:
parent
922f8c79c4
commit
1234a4d11f
1 changed files with 42 additions and 0 deletions
42
.config/kmonad/config.kbd
Normal file
42
.config/kmonad/config.kbd
Normal file
|
@ -0,0 +1,42 @@
|
|||
(defcfg
|
||||
input (device-file "/dev/input/by-id/usb-Kingston_HyperX_Alloy_FPS_Pro_Mechanical_Gaming_Keyboard-event-kbd")
|
||||
output (uinput-sink "My KMonad output")
|
||||
allow-cmd true
|
||||
fallthrough true
|
||||
)
|
||||
|
||||
#| SET DEFAULT LAYOUT |#
|
||||
|
||||
(defsrc
|
||||
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause
|
||||
grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup
|
||||
tab q w e r t y u i o p [ ] \ del end pgdn
|
||||
caps a s d f g h j k l ; ' ret
|
||||
lsft z x c v b n m , . / rsft up
|
||||
lctl lmet lalt spc ralt rmet cmp rctl left down rght
|
||||
)
|
||||
|
||||
#| SET KEY TO LAYOUT |#
|
||||
|
||||
(defalias esc (tap-hold 200 esc (layer-toggle numbers)))
|
||||
|
||||
|
||||
#| LAYOUTS |#
|
||||
|
||||
(deflayer base
|
||||
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause
|
||||
grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup
|
||||
tab q w e r t y u i o p [ ] \ del end pgdn
|
||||
@esc a s d f g h j k l ; ' ret
|
||||
lsft z x c v b n m , . / rsft up
|
||||
lctl lmet lalt spc ralt rmet cmp rctl left down rght
|
||||
)
|
||||
|
||||
(deflayer numbers
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _ 7 8 9 _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _ 4 5 6 _ _ _
|
||||
_ _ _ _ _ _ _ 1 2 3 _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _
|
||||
)
|
Loading…
Reference in a new issue