about summary refs log tree commit diff stats
path: root/pkgs/by-name/ri/river-mk-keymap/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ri/river-mk-keymap/contrib')
-rw-r--r--pkgs/by-name/ri/river-mk-keymap/contrib/example.json8
-rw-r--r--pkgs/by-name/ri/river-mk-keymap/contrib/example.json.license9
-rw-r--r--pkgs/by-name/ri/river-mk-keymap/contrib/init.json261
3 files changed, 278 insertions, 0 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
new file mode 100644
index 00000000..bddd61c0
--- /dev/null
+++ b/pkgs/by-name/ri/river-mk-keymap/contrib/example.json
@@ -0,0 +1,8 @@
+{
+    "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/example.json.license b/pkgs/by-name/ri/river-mk-keymap/contrib/example.json.license
new file mode 100644
index 00000000..eae6a84c
--- /dev/null
+++ b/pkgs/by-name/ri/river-mk-keymap/contrib/example.json.license
@@ -0,0 +1,9 @@
+nixos-config - My current NixOS configuration
+
+Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of my nixos-config.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
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..a5f24307
--- /dev/null
+++ b/pkgs/by-name/ri/river-mk-keymap/contrib/init.json
@@ -0,0 +1,261 @@
+{
+  "<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": {
+        "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"
+      ],
+      "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"
+  ]
+}