clipboard get

clipboard get ?-displayof window? ?-type type?

Retrieve data from the clipboard on window 's display. Window defaults to ".". Type specifies the form in which the data is to be returned and should be an atom name such as STRING or FILE_NAME. Type defaults to STRING. This command is equivalent to selection get -selection CLIPBOARD.

See also