dshoreman / nextshot

A simple tool for taking screenshots on Linux and sharing via Nextcloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wayland check fails on Wayland

dshoreman opened this issue · comments

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.