Vanguard: disable adaptive_sync by default

Update steamscope script to temporarily remove scaling and enable
adaptive_sync, run steam, and revert when steam closes
This commit is contained in:
Evie Litherland-Smith 2024-09-20 10:17:32 +01:00
parent dc61c48d41
commit 406e0972e1

View file

@ -23,7 +23,9 @@
cartridges cartridges
prismlauncher prismlauncher
(writeShellScriptBin "steamscope" '' (writeShellScriptBin "steamscope" ''
gamescope -w 2560 -h 1440 -r 120 --adaptive-sync --force-grab-cursor --fullscreen -e -- steam -gamepadui swaymsg output DP-1 scale 1 adaptive_sync on
gamescope -w 2560 -h 1440 -r 120 --adaptive-sync -e -- steam
swaymsg output DP-1 scale 1.25 adaptive_sync off
'') '')
]; ];
programs.obs-studio = { programs.obs-studio = {
@ -40,13 +42,11 @@
"Acer Technologies ED270R TJMEE0043W01" = { "Acer Technologies ED270R TJMEE0043W01" = {
mode = "1920x1080@120Hz"; mode = "1920x1080@120Hz";
position = "0 140"; position = "0 140";
adaptive_sync = "off";
}; };
"Microstep MSI G27CQ4 E2 Unknown" = { "Microstep MSI G27CQ4 E2 Unknown" = {
mode = "2560x1440@120Hz"; mode = "2560x1440@120Hz";
scale = "1.25"; scale = "1.25";
position = "1920 0"; position = "1920 0";
adaptive_sync = "on";
}; };
}; };
workspaceOutputAssign = [ workspaceOutputAssign = [
@ -59,7 +59,6 @@
workspace = "1"; workspace = "1";
} }
]; ];
startup = [ { command = "${pkgs.xorg.xrandr}/bin/xrandr --output DP-1 --primary"; } ];
}; };
}; };
boot = { boot = {