about summary refs log tree commit diff stats
path: root/pkgs/by-name/ri/river-mk-keymap/contrib
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-29 11:52:52 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-29 11:52:52 +0200
commit708056676a639f58c508c34fe986d3c73f11488f (patch)
tree7268f0c0f3d7bbb2840732bcd7dd9f4325a2df6f /pkgs/by-name/ri/river-mk-keymap/contrib
parentmodules/river: Use the same keymap for both tiamat and apzu (diff)
downloadnixos-config-708056676a639f58c508c34fe986d3c73f11488f.zip
{modules/river,pkgs/river-mk-keymap}: Support keymap descriptions
That just avoids the visual clutter, caused by the nix store paths.
Diffstat (limited to 'pkgs/by-name/ri/river-mk-keymap/contrib')
-rw-r--r--pkgs/by-name/ri/river-mk-keymap/contrib/init.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/by-name/ri/river-mk-keymap/contrib/init.json b/pkgs/by-name/ri/river-mk-keymap/contrib/init.json
index 7faaeb43..a5f24307 100644
--- a/pkgs/by-name/ri/river-mk-keymap/contrib/init.json
+++ b/pkgs/by-name/ri/river-mk-keymap/contrib/init.json
@@ -113,10 +113,13 @@
       ]
     },
     "m": {
-      "l": [
+      "l": {
+        "command": [
         "spawn",
         "/nix/store/7h9w2sycqj3i2lp61nibgv7qhvwy3pi9-wireplumber-0.5.10/bin/wpctl set-volume @DEFAULT_SINK@ 5%-"
       ],
+        "description": "wpctl set-volume @DEFAULT_SINK@ 5%-"
+    },
       "m": [
         "spawn",
         "/nix/store/08bgv5x7gfhkczf0lgrpim1rw51jlxvn-mpp/bin/mpp toggle"