node-copy-paste
node-copy-paste copied to clipboard
Add support for Wayland (requires wl-clipboard)
Checks the WAYLAND_DISPLAY env variable to determine if the OS is running Wayland (instead of X11).
Then it uses wl-clipboard for copy/paste.
(There might be better solutions out there, but this is working for me on Fedora41)