Skip to content

Instantly share code, notes, and snippets.

@Steellow
Created August 1, 2024 14:05
Show Gist options
  • Save Steellow/7164917a484f2213d2dc91c7dea93f69 to your computer and use it in GitHub Desktop.
Save Steellow/7164917a484f2213d2dc91c7dea93f69 to your computer and use it in GitHub Desktop.
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