Currently running game identification on Linux
Hello,

On windows you can query the windows registry for a steam registry key to determine if and what game is running via it’s steam game ID. And as an extension to this you can make scheduled tasks to trigger off if this key changes, and to what.

The native version of steam on Linux does not seem to have this information available to external services. I may just be missing something but there does not seem to be a way to gather or trigger off this information.

Reasons this wanted;
1. The ability to trigger actions such as enabling game capture, changing input remapping profiles, so on based on if and or what the currently running game may be.
2. The ability to detect if a steam game is running to prevent actions from occurring such as sleep, screen blanking, software updates, the like.

So please add some means by which to preferably trigger off of the currently running game. A simple file that contains the currently running game ID, a way to task inform steam and ask, something… please…