This is more like a follow up of this thread here.
I'm using i3-tiling window manager and I'm trying to figure out if a Firefox instance is running IN A SPECIFIC WORKSPACE or not.
Now,
pgrep -x firefox
works flawlessly it really only tells you that if a program is running and not much about where it is running, or in which workspace is it running?
Is there any way for me to do that?