# Autorun Steam Game Steam game automation, by detecting and running specific Steam games, allows you to appear as if you are unemployed, rarely touching the grass, or perhaps looking busy. Without having the worry of running the game and restarting Steam manually. Required `.env` variables: ``` STEAM_RUNGAMEID= STEAM_KEY= STEAM_USERID64=<> ``` Launch it ```shell chmod +x ./launch.sh ./launch.sh 20 # repeating timer in minutes ``` ## Run after boot To ensure that the game runs after the system boots up, create a new systemd user service e.g. `~/.config/systemd/user/autorun-steam.service` ```ini [Unit] Description=Auto run steam game After=graphical-session.target [Service] Type=simple WorkingDirectory=//autorun-steam-game EnvironmentFile=//autorun-steam-game/.env ExecStart=//autorun-steam-game/launch.sh 20 Restart=on-failure RestartSec=5 [Install] WantedBy=default.target ``` Reload systemd and enable service ```shell systemctl --user daemon-reload systemctl --user enable --now autorun-steam.service ```