niedzielski / cb

📋 Universal command-line clipboard with automatic copy and paste detection. Eg, `cb|sort|cb`. The missing link between GUIs and CLIs!
The Unlicense
125 stars 6 forks source link

Wayland not supported/detected #3

Closed elmarsto closed 1 year ago

elmarsto commented 1 year ago

Wayland compositor on linux does not use xclip/xsel, it uses wl-copy, wl-paste. xclip and xsel might not even be installed.

The provided cb script as of this writing does not detect this, and I am reporting it nonfunctional on (at least) NixOS 22.11 with Wayland enabled.

It is likely other Linux distros-supporting-wayland will also experience this bug.

niedzielski commented 1 year ago

Fixed by you! #4