Wayland check fails on Wayland
dshoreman opened this issue · comments
Dave Shoreman commented
Running on Wayland results in attempting to copy via xclip
.
The is_wayland()
check returns 1
when it's not Wayland, but fails to return anything when it is. As a result, even on a Wayland machine the script thinks it's running on X11.