So this is not exactly what you want, but have you seen the rofi -show window feature? There's no preview of the window, but it does display the title even if the window is not on the current workspace.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: