add missing options to man page and usage
explicitly document that the define is necessary for getopt
check that offer isn't null before receiving
wayclip is a pair of command-line utilities: waycopy
and waypaste
,
which allow access to the Wayland clipboard. Specifically, wayclip
is a wlr-data-control
protocol client.
wayclip distinguishes itself from other Wayland clipboard utilities in the following ways:
To copy data, just pipe it into waycopy
, and optionally specify a seat and mimetype:
$ echo "howdy" | waycopy -s seat0 -t text/plain
(note that waycopy
will fork into the background)
To paste, optionally specify a seat and desired mimetype:
$ waypaste -s seat0 -t text/plain
howdy
$