configuring

This commit is contained in:
Matt Nish-Lapidus 2024-09-27 12:08:18 -04:00
parent 6a3c1ba45b
commit ec390d1f9c
4 changed files with 29 additions and 4 deletions

View file

@ -1,6 +1,6 @@
(defcfg (defcfg
input (device-file "/dev/input/by-id/usb-Keebio_Quefrency_Rev._5-event-kbd") input (device-file "/dev/input/by-id/usb-Keebio_Quefrency_Rev._5-event-kbd")
output (uinput-sink "my kmonad") output (uinput-sink "kmonad-quefrency")
fallthrough true fallthrough true
) )

View file

@ -0,0 +1,21 @@
(defcfg
input (device-file "/dev/input/by-id/usb-Razer_Razer_Blade-event-kbd")
output (uinput-sink "kmonad-razer")
fallthrough true
)
(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
)
(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 [ ] \
lctrl a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lctl lalt lmet spc rmet ralt
)

View file

@ -63,7 +63,7 @@
#turtle #turtle
papers papers
newsflash newsflash
helvum #helvum
librewolf librewolf
ungoogled-chromium ungoogled-chromium

View file

@ -201,9 +201,13 @@
services.kmonad = { services.kmonad = {
enable = true; enable = true;
keyboards = { keyboards = {
myKMonadOutput = { quefrency = {
device = "/dev/input/by-id/usb-Keebio_Quefrency_Rev._5-event-kbd"; device = "/dev/input/by-id/usb-Keebio_Quefrency_Rev._5-event-kbd";
config = builtins.readFile ../../dotfiles/dot_config/kmonad/main.kbd; config = builtins.readFile ../../dotfiles/dot_config/kmonad/quefrency.kbd;
};
razer = {
device = "/dev/input/by-id/usb-Razer_Razer_Blade-event-kbd";
config = builtins.readFile ../../dotfiles/dot_config/kmonad/razer.kbd;
}; };
}; };
}; };