asweigart / pyperclip

Python module for cross-platform clipboard functions.
https://pypi.python.org/pypi/pyperclip
BSD 3-Clause "New" or "Revised" License
1.65k stars 196 forks source link

Condense Linux and macOS and support BSD, headless Linux #242

Open Slackadays opened 1 year ago

Slackadays commented 1 year ago

This issue is similar to https://github.com/sindresorhus/clipboardy/issues/92. The project Clipboard supports interfacing with X11, Wayland, Windows, and macOS, so you could replace xclip/sel and wl-clipboard and pbcopy/paste with just clipboard. Additionally, you could also replace Windows, but this doesn't look to already use any command invocations. This change would also add support to the BSDs and headless systems where neither X11 nor Wayland is present.