LSW

Lists the titles of all running X windows to stdout, similar to ls(1).
Might be useful for script integration.

WWW: http://tools.suckless.org/lsw