iye/lightsOn

Detect Steam when running fullscrean games

Closed this issue · 0 comments

It would be nice if it could detect when I'm playing a steam game. There should be a steam binary running hopefully with a --fullscreen parameter. I haven't looked into it yet.
This could be detected just by looking at mouse, keyboard and joystick inputs. I think there is just a joystick detection needed.

Is it possible to look for the fullscreen flag on X windows? Wouldn't this be the easiest way to find fullscreen applications?