diff options
Diffstat (limited to '')
| -rw-r--r-- | modules/by-name/ri/river/keymap.nix | 6 |
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}"; |
