add kmonad config
This commit is contained in:
parent
9ed66d2793
commit
e7b8967c24
2 changed files with 48 additions and 0 deletions
37
.config/kmonad/config.kbd
Normal file
37
.config/kmonad/config.kbd
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
(defcfg
|
||||||
|
input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
|
||||||
|
output (uinput-sink "KMonad output")
|
||||||
|
fallthrough true
|
||||||
|
)
|
||||||
|
|
||||||
|
(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 nlck kp/ kp* kp-
|
||||||
|
tab q w e r t y u i o p [ ] ret del end pgdn kp7 kp8 kp9 kp+
|
||||||
|
caps a s d f g h j k l ; ' \ kp4 kp5 kp6
|
||||||
|
lsft 102d z x c v b n m , . / rsft up kp1 kp2 kp3 kprt
|
||||||
|
lctl lmet lalt spc ralt rmet cmp rctl left down rght kp0 kp.
|
||||||
|
)
|
||||||
|
|
||||||
|
(defalias
|
||||||
|
sl (sticky-key 600 lsft)
|
||||||
|
spc (tap-hold 200 spc (layer-toggle space))
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer base
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
@sl _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ @spc _ _ _ _ _ _ _ _ _
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer space
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
esc _ _ _ _ _ _ _ . _ _ home end _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ left down up rght _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
)
|
11
.config/systemd/user/kmonad.service
Normal file
11
.config/systemd/user/kmonad.service
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=kmonad keyboard config
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
RestartSec=3
|
||||||
|
ExecStart=/usr/bin/kmonad %E/kmonad/config.kbd
|
||||||
|
Nice=-20
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
Loading…
Reference in a new issue