It has been pointed out by @bugaevc that a user may have X and Wayland software available on the same system (e.g. for testing purposes) and that the best way to determine whether to use xsel/xclip or wl-copy is not to merely check for the presence of these commands, but to check whether the `WAYLAND_DISPLAY` environment variable is set. That is what this commit does.pull/502/head