update readme

This commit is contained in:
2026-02-11 07:51:55 +00:00
parent 1d685ad6dd
commit 3b75d88127

View File

@@ -1,4 +1,6 @@
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 to worry about automatically logging out on your current device.
# 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:
@@ -12,5 +14,33 @@ Launch it
```shell
chmod +x ./launch.sh
./launch.sh 30 # in minutes
./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=/<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
```shell
systemctl --user daemon-reload
systemctl --user enable --now autorun-steam.service
```