about summary refs log tree commit diff stats
path: root/modules/by-name/ri/river/keymap.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/ri/river/keymap.nix')
-rw-r--r--modules/by-name/ri/river/keymap.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/by-name/ri/river/keymap.nix b/modules/by-name/ri/river/keymap.nix
index 81bb0754..458f77de 100644
--- a/modules/by-name/ri/river/keymap.nix
+++ b/modules/by-name/ri/river/keymap.nix
@@ -14,10 +14,14 @@
         if args == ""
         then ""
         else " ";
+      maybeQuote =
+        if args == ""
+        then ""
+        else "\"";
     in {
       command = [
         "spawn"
-        "${lib.getExe' pkg binaryName}${maybeSpace}${args}"
+        "${lib.getExe pkgs.notify-run} \"${lib.getExe' pkg binaryName}\" ${maybeSpace}${maybeQuote}${args}${maybeQuote}"
       ];
 
       description = "${binaryName}${maybeSpace}${args}";