command line utility retrieving the properties of the current window on Linux