aboutsummaryrefslogtreecommitdiffstats
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 10:32:13 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-29 10:32:13 +0200
commit3d507acb42554b2551024ee3ca8490c203a1a9f8 (patch)
treececa79f3696cf9eab522be55c07c32e38de5edaf /pkgs/by-name/ri/river-mk-keymap/contrib
parentflake.lock: Update (diff)
downloadnixos-config-3d507acb42554b2551024ee3ca8490c203a1a9f8.zip
pkgs/river-mk-keymap: Improve with key-chord support and which-key interface
Diffstat (limited to 'pkgs/by-name/ri/river-mk-keymap/contrib')
-rw-r--r--pkgs/by-name/ri/river-mk-keymap/contrib/example.json7
-rw-r--r--pkgs/by-name/ri/river-mk-keymap/contrib/init.json258
2 files changed, 263 insertions, 2 deletions
diff --git a/pkgs/by-name/ri/river-mk-keymap/contrib/example.json b/pkgs/by-name/ri/river-mk-keymap/contrib/example.json
index c8673f9a..bddd61c0 100644
--- a/pkgs/by-name/ri/river-mk-keymap/contrib/example.json
+++ b/pkgs/by-name/ri/river-mk-keymap/contrib/example.json
@@ -1,5 +1,8 @@
{
- "<M-a>": {
- "command": ["focus-view", "next"]
+ "Kbad": {
+ "command": ["spawn", "/nix/store/1xfyw9c5ala73y8sayrsf98vcrr3jrww-libnotify-0.8.6/bin/notify-send hi"]
+ },
+ "Kbae": {
+ "command": ["e"]
}
}
diff --git a/pkgs/by-name/ri/river-mk-keymap/contrib/init.json b/pkgs/by-name/ri/river-mk-keymap/contrib/init.json
new file mode 100644
index 00000000..7faaeb43
--- /dev/null
+++ b/pkgs/by-name/ri/river-mk-keymap/contrib/init.json
@@ -0,0 +1,258 @@
+{
+ "<Alt+Ctrl+Super+Shift-Z>": [
+ "spawn",
+ "/nix/store/h71ca2rxlnlcyv4604ih2b2gla5ly27d-qmk-unicode-type-1.0.0/bin/qmk-unicode-type 106 65377"
+ ],
+ "<MEDIA_LOWERVOLUME>": {
+ "allow_locked": true,
+ "command": [
+ "spawn",
+ "/nix/store/7h9w2sycqj3i2lp61nibgv7qhvwy3pi9-wireplumber-0.5.10/bin/wpctl set-volume @DEFAULT_SINK@ 5%-"
+ ]
+ },
+ "<MEDIA_MUTEVOLUME>": {
+ "allow_locked": true,
+ "command": [
+ "spawn",
+ "/nix/store/08bgv5x7gfhkczf0lgrpim1rw51jlxvn-mpp/bin/mpp toggle"
+ ]
+ },
+ "<MEDIA_RAISEVOLUME>": {
+ "allow_locked": true,
+ "command": [
+ "spawn",
+ "/nix/store/7h9w2sycqj3i2lp61nibgv7qhvwy3pi9-wireplumber-0.5.10/bin/wpctl set-volume @DEFAULT_SINK@ 5%+"
+ ]
+ },
+ "<LEFT_SUPER>": {
+ "c": {
+ "<ENTER>": [
+ "zoom"
+ ],
+ " ": [
+ "toggle-float"
+ ],
+ "c": [
+ "close"
+ ],
+ "f": [
+ "toggle-fullscreen"
+ ],
+ "n": [
+ "swap",
+ "previous"
+ ],
+ "o": [
+ "send-to-output",
+ "next"
+ ],
+ "t": [
+ "swap",
+ "next"
+ ]
+ },
+ "f": {
+ "0": [
+ "set-focused-tags",
+ "4294967295"
+ ],
+ "1": [
+ "set-focused-tags",
+ "1"
+ ],
+ "2": [
+ "set-focused-tags",
+ "2"
+ ],
+ "3": [
+ "set-focused-tags",
+ "4"
+ ],
+ "4": [
+ "set-focused-tags",
+ "8"
+ ],
+ "5": [
+ "set-focused-tags",
+ "16"
+ ],
+ "6": [
+ "set-focused-tags",
+ "32"
+ ],
+ "7": [
+ "set-focused-tags",
+ "64"
+ ],
+ "8": [
+ "set-focused-tags",
+ "128"
+ ],
+ "9": [
+ "set-focused-tags",
+ "256"
+ ],
+ "<Ctrl-n>": [
+ "focus-output",
+ "previous"
+ ],
+ "<Ctrl-t>": [
+ "focus-output",
+ "next"
+ ],
+ "n": [
+ "focus-view",
+ "previous"
+ ],
+ "p": [
+ "focus-previous-tags"
+ ],
+ "t": [
+ "focus-view",
+ "next"
+ ]
+ },
+ "m": {
+ "l": [
+ "spawn",
+ "/nix/store/7h9w2sycqj3i2lp61nibgv7qhvwy3pi9-wireplumber-0.5.10/bin/wpctl set-volume @DEFAULT_SINK@ 5%-"
+ ],
+ "m": [
+ "spawn",
+ "/nix/store/08bgv5x7gfhkczf0lgrpim1rw51jlxvn-mpp/bin/mpp toggle"
+ ],
+ "r": [
+ "spawn",
+ "/nix/store/7h9w2sycqj3i2lp61nibgv7qhvwy3pi9-wireplumber-0.5.10/bin/wpctl set-volume @DEFAULT_SINK@ 5%+"
+ ]
+ },
+ "r": {
+ "a": [
+ "spawn",
+ "/nix/store/h601phmb09d9dwwziwsim6m0r31qajr3-alacritty-0.15.1/bin/alacritty"
+ ],
+ "b": [
+ "spawn",
+ "/nix/store/k8gfhk1lglwr8k6477ygkr9hh037a4kw-tskm-0.1.0/bin/tskm open select"
+ ],
+ "k": [
+ "spawn",
+ "/nix/store/xpinf75gxhl8aglw2z7631k89iiml7rz-keepassxc-2.7.10/bin/keepassxc"
+ ],
+ "p": [
+ "spawn",
+ "/nix/store/skgvjhmqp3jbmaw70xlz86a66lg13395-screenshot_persistent/bin/screenshot_persistent"
+ ],
+ "s": [
+ "spawn",
+ "/nix/store/zvzr8cj57jhxyrzjym2rv3w95w7zw901-signal-desktop-7.56.1/bin/signal-desktop"
+ ]
+ },
+ "v": {
+ "0": [
+ "set-view-tags",
+ "4294967295"
+ ],
+ "1": [
+ "set-view-tags",
+ "1"
+ ],
+ "2": [
+ "set-view-tags",
+ "2"
+ ],
+ "3": [
+ "set-view-tags",
+ "4"
+ ],
+ "4": [
+ "set-view-tags",
+ "8"
+ ],
+ "5": [
+ "set-view-tags",
+ "16"
+ ],
+ "6": [
+ "set-view-tags",
+ "32"
+ ],
+ "7": [
+ "set-view-tags",
+ "64"
+ ],
+ "8": [
+ "set-view-tags",
+ "128"
+ ],
+ "9": [
+ "set-view-tags",
+ "256"
+ ],
+ "a": {
+ "1": [
+ "toggle-view-tags",
+ "1"
+ ],
+ "2": [
+ "toggle-view-tags",
+ "2"
+ ],
+ "3": [
+ "toggle-view-tags",
+ "4"
+ ],
+ "4": [
+ "toggle-view-tags",
+ "8"
+ ],
+ "5": [
+ "toggle-view-tags",
+ "16"
+ ],
+ "6": [
+ "toggle-view-tags",
+ "32"
+ ],
+ "7": [
+ "toggle-view-tags",
+ "64"
+ ],
+ "8": [
+ "toggle-view-tags",
+ "128"
+ ],
+ "9": [
+ "toggle-view-tags",
+ "256"
+ ]
+ },
+ "p": [
+ "send-to-previous-tags"
+ ]
+ },
+ "x": {
+ "l": [
+ "spawn",
+ "/nix/store/4gp8yj8cz3d78hn01firv7dlqf4ap1fj-lock/bin/lock"
+ ],
+ "q": [
+ "exit"
+ ]
+ }
+ },
+ "<Super-<MOUSE_LEFT>>": [
+ "move-view"
+ ],
+ "<Super-<MOUSE_RIGHT>>": [
+ "resize-view"
+ ],
+ "<Super-L>": [
+ "spawn",
+ "/nix/store/4gp8yj8cz3d78hn01firv7dlqf4ap1fj-lock/bin/lock"
+ ],
+ "<PRINTSCREEN>": [
+ "spawn",
+ "/nix/store/skgvjhmqp3jbmaw70xlz86a66lg13395-screenshot_persistent/bin/screenshot_persistent"
+ ]
+}