From 422cea2c7718a4e81325641e5d8c7a5a1e9cc9ca Mon Sep 17 00:00:00 2001 From: quirinecker Date: Wed, 14 Oct 2026 14:31:30 +0200 Subject: [PATCH] exiting steam when starting steam tv mode --- modules/gaming/steam.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gaming/steam.nix b/modules/gaming/steam.nix index ff1e4ea..c9b805e 100644 --- a/modules/gaming/steam.nix +++ b/modules/gaming/steam.nix @@ -11,6 +11,7 @@ audioDeviceSearchTerm = "SONY TV"; script = pkgs.writeShellScriptBin "switch-to-steam-tv" '' nu -c 'wpctl set-default (wpctl status | lines | where ($it | str contains "${audioDeviceSearchTerm}") | str replace -r "│\\s*(\\d+).*" "$1" | first)' + killall steam ${pkgs.gamescope}/bin/gamescope -W 2560 -H 1440 -f -e -- steam -bigpicture ''; in