From f75598b51423b55f1cf8b0cbbe2e4c893f614ba9 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 21 Mar 2024 17:11:38 +0100 Subject: [PATCH] Steam fhs? --- pkgs/auto-mount/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/auto-mount/default.nix b/pkgs/auto-mount/default.nix index 1f3af26..d66fc7f 100644 --- a/pkgs/auto-mount/default.nix +++ b/pkgs/auto-mount/default.nix @@ -75,7 +75,7 @@ writeShellApplication if pgrep -x "steam" > /dev/null; then # TODO use -ifrunning and check return value - if there was a steam process and it returns -1, the message wasn't sent # need to retry until either steam process is gone or -ifrunning returns 0, or timeout i guess - systemd-run -M 1000@ --user --collect --wait sh -c "${pkgs.steam}/bin/steam steam://''${command}/''${encoded@Q}" + systemd-run -M 1000@ --user --collect --wait sh -c "${pkgs.steam}/bin/steam-fhs steam://''${command}/''${encoded@Q}" echo "Sent URL to steam: steam://''${command}/''${arg} (steam://''${command}/''${encoded})" else echo "Could not send steam URL steam://''${command}/''${arg} (steam://''${command}/''${encoded}) -- steam not running"