Closed rawiriblundell closed 1 year ago
Thanks for the PR! Looks much better now! I've added a fallback so that xclip can be used if wl-clipboard isn't installed on Wayland. Even though xclip is designed for X11 it seems to be working on Wayland just fine.
In response to a comment on #18. This approach should cover a wider range of environments including WSL2 and Mac, where
XDG_SESSION_TYPE
is not used. Mac, specifically, is addressed bypbcopy
, but this will need testing as I don't have a Macbook handy.