From ec390d1f9cbaf708d55ede6c0ddc088b525e4e39 Mon Sep 17 00:00:00 2001 From: Matt Nish-Lapidus Date: Fri, 27 Sep 2024 12:08:18 -0400 Subject: [PATCH] configuring --- .../kmonad/{main.kbd => quefrency.kbd} | 2 +- dotfiles/dot_config/kmonad/razer.kbd | 21 +++++++++++++++++++ home/home.nix | 2 +- system/eddie/configuration.nix | 8 +++++-- 4 files changed, 29 insertions(+), 4 deletions(-) rename dotfiles/dot_config/kmonad/{main.kbd => quefrency.kbd} (94%) create mode 100644 dotfiles/dot_config/kmonad/razer.kbd diff --git a/dotfiles/dot_config/kmonad/main.kbd b/dotfiles/dot_config/kmonad/quefrency.kbd similarity index 94% rename from dotfiles/dot_config/kmonad/main.kbd rename to dotfiles/dot_config/kmonad/quefrency.kbd index 8f76e5e..c5124d6 100644 --- a/dotfiles/dot_config/kmonad/main.kbd +++ b/dotfiles/dot_config/kmonad/quefrency.kbd @@ -1,6 +1,6 @@ (defcfg 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 ) diff --git a/dotfiles/dot_config/kmonad/razer.kbd b/dotfiles/dot_config/kmonad/razer.kbd new file mode 100644 index 0000000..5810b51 --- /dev/null +++ b/dotfiles/dot_config/kmonad/razer.kbd @@ -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 +) diff --git a/home/home.nix b/home/home.nix index 1c212c3..6c9d01e 100644 --- a/home/home.nix +++ b/home/home.nix @@ -63,7 +63,7 @@ #turtle papers newsflash - helvum + #helvum librewolf ungoogled-chromium diff --git a/system/eddie/configuration.nix b/system/eddie/configuration.nix index d98fdb4..d7b07b3 100644 --- a/system/eddie/configuration.nix +++ b/system/eddie/configuration.nix @@ -201,10 +201,14 @@ services.kmonad = { enable = true; keyboards = { - myKMonadOutput = { + quefrency = { 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; + }; }; };