The lesspass CLI already supports copying to the clipboard on X window system environments if certain tools (xsel or xclip) are installed. Many Unix-like systems have begun shipping environments that use Wayland instead of X. xsel and xclip are not designed for Wayland. The most widely-used clipboard tool suite for Wayland, wl-clipboard, has an optional compatibility layer that can make it work with the xsel and xclip commands; this may or may not be included in packages that provide the wl-clipboard tools. This commit gives the lesspass CLI explicit support for the wl-copy command provided by wl-clipboard. lesspass will continue to check for the presence of xsel and xclip before trying wl-copy, to guard against the perhaps unlikely scenario that the user has the wl-copy command installed on their system, but is not running a Wayland server, in which case the command will fail.pull/498/head