Anyone have a example python code (or can point me in the right direction) that can find the file name of the desktop application whose window currently has focus?
Bonus points if:
- No non standard modules, libraries, or external programs are needed.
- It's nto specific to a single window manager
- It's cross platform.