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

Fix --clipboard on Wayland #192

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Ty3uK
Copy link
Contributor

@Ty3uK Ty3uK commented Jul 7, 2024

According to alacritty/copypasta#71 we cannot use copypasta for Wayland if we're CLI.

According to alacritty/copypasta#71 we cannot
use copypasta for Wayland if we're CLI.
@Ty3uK
Copy link
Contributor Author

Ty3uK commented Jul 7, 2024

A small (or not) downside of this PR is increased size of binaries:

rbw on  fix/clipboard-wayland is 📦 v1.11.1 via 🦀 v1.79.0 
❯ ls -lah ~/Downloads/rbw_1.11.1_linux_amd64\(1\)/{rbw,rbw-agent}
-rwxr-xr-x 1 ty3uk ty3uk 7.3M Jun 26 11:21 '/home/ty3uk/Downloads/rbw_1.11.1_linux_amd64(1)/rbw'
-rwxr-xr-x 1 ty3uk ty3uk 8.1M Jun 26 11:21 '/home/ty3uk/Downloads/rbw_1.11.1_linux_amd64(1)/rbw-agent'
rbw on  fix/clipboard-wayland is 📦 v1.11.1 via 🦀 v1.79.0 
❯ ls -lah target/release/{rbw,rbw-agent}
-rwxr-xr-x 2 ty3uk ty3uk 8.9M Jul  7 23:32 target/release/rbw
-rwxr-xr-x 2 ty3uk ty3uk  11M Jul  7 23:32 target/release/rbw-agent
rbw on  fix/clipboard-wayland is 📦 v1.11.1 via 🦀 v1.79.0 
❯ 

@Ty3uK
Copy link
Contributor Author

Ty3uK commented Jul 7, 2024

@doy, unfortunately, wl-clipboard-rs is using syn 1 under the hood.

Should I add it to deny.toml bans.skip?

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

Successfully merging this pull request may close these issues.

1 participant