From 10570b36134a8537f8c916d2aaf1f30c23ee9c41 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 14 Sep 2024 10:39:35 +0100 Subject: [PATCH] Move gamescope args into steamscope command instead of globally Use fullscreen with gamepadui as this seems to be most stable --- system/Vanguard.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/system/Vanguard.nix b/system/Vanguard.nix index 3e0840a3..82e8ed05 100644 --- a/system/Vanguard.nix +++ b/system/Vanguard.nix @@ -22,7 +22,9 @@ lutris cartridges prismlauncher - (writeShellScriptBin "steamscope" "gamescope -e -- steam") + (writeShellScriptBin "steamscope" '' + gamescope -w 2560 -h 1440 -r 165 --adaptive-sync --force-grab-cursor --fullscreen -e -- steam -gamepadui + '') ]; programs.obs-studio = { enable = true; @@ -85,13 +87,6 @@ gamescope = { enable = true; capSysNice = true; - args = [ - "-w 2560" - "-h 1440" - "-r 165" - "--adaptive-sync" - "--force-grab-cursor" - ]; }; }; }