improved kmonad configuration for each keyboard
This commit is contained in:
parent
c1ddb6d435
commit
21380b6a82
1 changed files with 5 additions and 5 deletions
|
@ -22,7 +22,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
keyboards =
|
keyboards =
|
||||||
let
|
let
|
||||||
keyboard = device: {
|
keyboard = device: leftOfSpace: {
|
||||||
device = device;
|
device = device;
|
||||||
extraGroups = [ "video" ];
|
extraGroups = [ "video" ];
|
||||||
defcfg = {
|
defcfg = {
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
tab q w e r t y u i o p [ ] \
|
tab q w e r t y u i o p [ ] \
|
||||||
caps a s d f g h j k l ; ' ret
|
caps a s d f g h j k l ; ' ret
|
||||||
lsft z x c v b n m , . / rsft
|
lsft z x c v b n m , . / rsft
|
||||||
lctl lmet lalt spc ralt rmet cmp rctl
|
${lib.concatStringsSep " " leftOfSpace} spc ralt rmet cmp rctl
|
||||||
)
|
)
|
||||||
|
|
||||||
(defalias sym (layer-toggle symbols))
|
(defalias sym (layer-toggle symbols))
|
||||||
|
@ -60,9 +60,9 @@
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nativ = keyboard "/dev/input/by-path/platform-i8042-serio-0-event-kbd";
|
nativ = keyboard "/dev/input/by-path/platform-i8042-serio-0-event-kbd" [ "lctl" "lmet" "lalt" ];
|
||||||
dasKeyboard = keyboard "/dev/input/by-id/usb-Metadot_-_Das_Keyboard_Das_Keyboard-event-kbd";
|
dasKeyboard = keyboard "/dev/input/by-id/usb-Metadot_-_Das_Keyboard_Das_Keyboard-event-kbd" [ "lctl" "lmet" "lalt" ];
|
||||||
uhk = keyboard "/dev/input/by-id/usb-Ultimate_Gadget_Laboratories_UHK_60_v2-if01-event-kbd";
|
uhk = keyboard "/dev/input/by-id/usb-Ultimate_Gadget_Laboratories_UHK_60_v2-if01-event-kbd" [ "lctl" "lalt" "lmet" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue