In recent versions, a powerful feature has been added that allows you to spawn any process on your PC when an achievement is unlocked. For example, you could run a script that plays a custom MP3 file, changes your RGB lighting, or sends a message to Discord. The achievement data (name, description, game ID) is exposed via environment variables for use in these scripts.

Achievement Watcher Guide ((better)) -

In recent versions, a powerful feature has been added that allows you to spawn any process on your PC when an achievement is unlocked. For example, you could run a script that plays a custom MP3 file, changes your RGB lighting, or sends a message to Discord. The achievement data (name, description, game ID) is exposed via environment variables for use in these scripts.