Surely there’ s a way to obtain the “window name” -which appears on the Window Manager’ s Titlebar- for running processes, right?. Well, I can’t find it…
I mean, the names that appear below each icon when you alt-tab to switch an app to the foreground. Is there a simple way to obtain that data along with matching PIDs, from a Bash script? any built-in tools that provide such?