Files
autorun-steam-game/README.md
2026-02-11 07:51:55 +00:00

1.1 KiB

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=<game-u-wanna-run>
STEAM_KEY=<ur-steam-key-api>
STEAM_USERID64=<<ur-userid>>

Launch it

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

[Unit]
Description=Auto run steam game
After=graphical-session.target

[Service]
Type=simple
WorkingDirectory=/<ur-working-dir>/autorun-steam-game
EnvironmentFile=/<ur-working-dir>/autorun-steam-game/.env
ExecStart=/<ur-working-dir>/autorun-steam-game/launch.sh 20
Restart=on-failure
RestartSec=5

[Install]
WantedBy=default.target

Reload systemd and enable service

systemctl --user daemon-reload
systemctl --user enable --now autorun-steam.service