Migrate rotterdam from kmonad to keyd
This commit is contained in:
parent
86d5c8a0c2
commit
5834eb6a16
2 changed files with 16 additions and 6 deletions
|
|
@ -14,11 +14,20 @@
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
hardware.openrgb.enable = true;
|
hardware.openrgb.enable = true;
|
||||||
kmonad = {
|
keyd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
keyboards.default = {
|
keyboards.main = {
|
||||||
device = "/dev/input/by-path/pci-0000:0a:00.3-usb-0:2:1.0-event-kbd";
|
settings = {
|
||||||
config = builtins.readFile ./rotterdam/kmonad.kbd;
|
main = {
|
||||||
|
capslock = "overload(meta, esc)";
|
||||||
|
meta = "overload(M-A, meta)";
|
||||||
|
};
|
||||||
|
shift = {
|
||||||
|
leftshift = "capslock";
|
||||||
|
rightshift = "capslock";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
ids = [ "1ea7:0907" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,8 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
(defalias
|
(defalias
|
||||||
cps (tap-hold 400 esc caps)
|
cps (tap-hold 200 esc lmet)
|
||||||
|
mts (around lmet lsft)
|
||||||
)
|
)
|
||||||
|
|
||||||
(defsrc
|
(defsrc
|
||||||
|
|
@ -25,5 +26,5 @@
|
||||||
tab q w e r t y u i o p [ ] \
|
tab q w e r t y u i o p [ ] \
|
||||||
@cps a s d f g h j k l ; ' ret
|
@cps a s d f g h j k l ; ' ret
|
||||||
lsft z x c v b n m , . / del up rsft
|
lsft z x c v b n m , . / del up rsft
|
||||||
lctl lmet lalt spc ralt left down rght
|
lctl @mts lalt spc ralt left down rght
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue