aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home.legacy/wms/river
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-30 22:41:00 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-30 22:41:00 +0100
commit07229574e2e0feef3e4984025d9b2b9a6776f51d (patch)
tree4e94a2b47fa4f38f98959efae6eb250a4207701b /modules/home.legacy/wms/river
parentbuild(treewide): Update (diff)
downloadnixos-config-07229574e2e0feef3e4984025d9b2b9a6776f51d.zip
feat(modules/legacy/river): Add mapping to start `qmk-unicode-type`
That program communicates with my keyboard and sets a Unicode character.
Diffstat (limited to 'modules/home.legacy/wms/river')
-rw-r--r--modules/home.legacy/wms/river/default.nix3
-rw-r--r--modules/home.legacy/wms/river/res/moonlander.ron4
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/home.legacy/wms/river/default.nix b/modules/home.legacy/wms/river/default.nix
index 274b9223..9463e94e 100644
--- a/modules/home.legacy/wms/river/default.nix
+++ b/modules/home.legacy/wms/river/default.nix
@@ -4,6 +4,7 @@
river_init_lesser,
nixosConfig,
system,
+ qmk_firmware,
...
}: let
inherit (nixosConfig.networking) hostName;
@@ -61,6 +62,8 @@ in {
keepPath = true;
dependencies = builtins.attrValues {
river_init_lesser = river_init_lesser.packages.${system}.default;
+ inherit (qmk_firmware.packages.${system}) qmk_unicode_type;
+
inherit
(pkgs)
dash
diff --git a/modules/home.legacy/wms/river/res/moonlander.ron b/modules/home.legacy/wms/river/res/moonlander.ron
index 77ffa5c4..4051635f 100644
--- a/modules/home.legacy/wms/river/res/moonlander.ron
+++ b/modules/home.legacy/wms/river/res/moonlander.ron
@@ -40,13 +40,15 @@ RiverctlCommandArray(
RiverctlCommand( map_mode: Map, mode: ["normal"], key: "W", mods: "Alt+Control+Super+Shift", command: "send-to-previous-tags",command_args: None,),
//RiverctlCommand( map_mode: Map, mode: ["normal"], key: "X", mods: "Alt+Control+Super+Shift", command: "spawn", command_args: "bemenu-run",),
//RiverctlCommand( map_mode: Map, mode: ["normal"], key: "Y", mods: "Alt+Control+Super+Shift", command: "spawn", command_args: "bemenu-run",),
- //RiverctlCommand( map_mode: Map, mode: ["normal"], key: "Z", mods: "Alt+Control+Super+Shift", command: "spawn", command_args: "bemenu-run",),
// Toggle all tags
RiverctlCommand( map_mode: Map, mode: ["normal"], key: "0", mods: "Alt+Control+Super+Shift", command: "set-focused-tags", command_args: "4294967295"),
RiverctlCommand( map_mode: Map, mode: ["normal"], key: "0", mods: "Alt+Control+Shift", command: "set-view-tags", command_args: "4294967295"),
+ // Support Unicode input
+ RiverctlCommand( map_mode: Map, mode: ["normal"], key: "Z", mods: "Alt+Control+Super+Shift", command: "spawn", command_args: "qmk-unicode-type",),
+
// Mouse
RiverctlCommand( map_mode: MapMouse, mode: ["normal"], key: "BTN_LEFT", mods: "Super", command: "move-view", command_args: None,),
RiverctlCommand( map_mode: MapMouse, mode: ["normal"], key: "BTN_RIGHT", mods: "Super", command: "resize-view", command_args: None,),