lswt − list Wayland toplevels
lswt |
[−t] [−−tsv] [−j] [−−json] |
|||
lswt |
[−h] [−−help] |
|||
lswt |
[−v] [−−version] |
lswt will list all toplevels advertised by a Wayland server using the foreign-toplevel-management-unstable-v1 protocol extension.
By default lswt tries to format the data to be human readable. If you want to parse the output, consider using one of the available machine readable output modes.
id: state title app-id
The id indicates in what order the toplevels have been advertised by the server. It is also helpful to identify the same toplevel on multiple outputs.
The state is a four wide character field, corresponding to the four possible toplevel states: maximized, minimized, activated and fullscreen. If one of these states is true for a toplevel, the respective character in the field is set to the first letter of the state name, otherwise it is −.
-h, --help
Print help text and exit.
-v, --version
Print version and exit.
-t, --tsv
Output data as tab separated values. The values are ordered as follows: title, app-id, maximized, minimized, activated, fullscreen, outputs. Title and app-id are quoted. States are boolean ("true" or "false"). The outputs field is a comma separated list of the quoted names of outputs the toplevel is on or "none" if the toplevel is not on any output.
-j, --json
Output data in the JSON format.