Description
If arguments are given, outputs the title of each arguments, otherwise outputs the title of the active window and continue to output it as it changes if the snoop mode is on.
Synopsis
xtitle [-h|-v|-s|-e|-i|-f FORMAT|-t NUMBER] [WID ...]
Options
-h
β Print the synopsis to standard output and exit.-v
β Print the version to standard output and exit.-s
β Activate the snoop mode.-e
β Escape the following characters: ', " and \.-i
β Try to retrieve the title from the_NET_WM_VISIBLE_NAME
atom.-f FORMAT
β Use the givenprintf
-style format. The only supported sequences are%s
(for title),%u
(for window id) and\n
.-t NUMBER
β Truncate the title after |NUMBER| characters starting at the first (or the last if NUMBER is negative) character.