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

RFE: Port clipboard support to a copypasta crate #114

Open
ignatenkobrain opened this issue May 22, 2020 · 4 comments
Open

RFE: Port clipboard support to a copypasta crate #114

ignatenkobrain opened this issue May 22, 2020 · 4 comments

Comments

@ignatenkobrain
Copy link
Contributor

https://crates.io/crates/copypasta seems to be better than having multiple crates for unix/windows and that one also seems to support wayland which is quite helpful in 2020 :)

I did not check if it is easy to port or anything like that yet, hence opening an issue instead of PR.

@timvisee
Copy link
Owner

Thanks for mentioning. clipboard seems to be abandoned, and I didn't know this was a replacement (fork).

Now I did intend to use a forking clipboard provider on Linux. I set up an extension crate to support this. Lets see if I can do the same with copypasta.

@ignatenkobrain
Copy link
Contributor Author

Also if you could make a "hack" mentioned in alacritty/copypasta#15 to your ext crate, would be nice. That would make ffsend experience good on wayland.

Thanks!

@timvisee
Copy link
Owner

Also if you could make a "hack" mentioned in alacritty/copypasta#15 to your ext crate, would be nice.

Just added: alacritty/copypasta#15 (comment)

Regarding wayland support, some smart function must be added to select the correct clipboard provider (X11 or Wayland) depending on it's current runtime. It currently defaults to X11 only, and this will remain the same when switching to the X11 forking provider. This is something to add to clipboard-ext as well, so I opened the following tracking issue for it: https://gitlab.com/timvisee/copypasta-ext/-/issues/1

@timvisee
Copy link
Owner

timvisee commented May 30, 2020

Started implementing some stubs on the use-copypasta-ext branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants