PC window monitor

Is there a way that you can follow what app do you use currently on windows 10 and get it in Home Assistant so you can use it later for automations? Like this for steamimage