Created
August 1, 2024 14:05
-
-
Save Steellow/7164917a484f2213d2dc91c7dea93f69 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM _ Wait a second after login before changing output monitor so it works properly | |
timeout 1 | |
REM _ Change display to monitor 2 | |
call displayswitch.exe /external | |
REM _ Open Steam in Big Picture mode (after you quit Steam, the script will continue) | |
"C:\Program Files (x86)\Steam\steam.exe" -start steam://open/bigpicture | |
REM _ Change display back to monitor 1 | |
call displayswitch.exe /internal | |
REM _ Wait for display change to finish before shutting down | |
timeout 5 | |
REM _ Shut down PC | |
shutdown /s /t 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment