Use XDG_ENVIRONMENT_TYPE to switch to CLIPBOARD
It appears that XDG_ENVIRONMENT_TYPE will always equal "wayland" when XWayland is in use, so when we see that, switch to CLIPBOARD instead of PRIMARY. This should fix WSL and ChromeOS, and be irritating on GNOME, so it's a win all around.
Please register or sign in to comment