Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Slackadays/clipboard #46

Open
Slackadays opened this issue Feb 4, 2023 · 1 comment
Open

Support Slackadays/clipboard #46

Slackadays opened this issue Feb 4, 2023 · 1 comment
Labels
Clipboard Implementation Another clipboard implementation / provider / platform

Comments

@Slackadays
Copy link

Slackadays commented Feb 4, 2023

Instead of calling xsel and pbcopy for X11 and macOS respectively, you can use Clipboard to condense all those calls into one call to the CB binary. Additionally, CB's Wayland support would also fix #44 at the same time. You could also add a fallback option that uses a bundled CB binary if Clipboard Ruby can't find one installed on the system.

Edit: This would also enable support for the BSDs as well, since CB works on them.
Double edit: This would also enable support for Linux/BSD where there isn't X11/Wayland because CB doesn't depend on them to exist.

@janlelis
Copy link
Owner

janlelis commented Apr 4, 2024

That looks like an awesome piece of software!

Would be great to support this as an optional provider. However, I am not going to bundle the binary, since the library should stay agnostic.

@janlelis janlelis changed the title Condense xsel and pbcopy and add Wayland Support Slackadays/clipboard Apr 4, 2024
@janlelis janlelis added the Clipboard Implementation Another clipboard implementation / provider / platform label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clipboard Implementation Another clipboard implementation / provider / platform
Projects
None yet
Development

No branches or pull requests

2 participants