[window_title]
min_width=1600
align=center
command=echo $(xdotool getactivewindow getwindowname)
interval=1
You need xdotool installed for this to work, currently I have title showing roughly in the centre of panel. The min_width is really dependant on your own monitor size. This feature is of course part of polybar waybar etc and figured it would be a nice feature to have.
Just thought I would share this in case anyone has a use for it.