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 the "primary" X11 clipboard #3

Closed
woodruffw opened this issue May 16, 2020 · 0 comments · Fixed by #84
Closed

Support the "primary" X11 clipboard #3

woodruffw opened this issue May 16, 2020 · 0 comments · Fixed by #84
Labels
C:cli enhancement New feature or request help wanted Extra attention is needed P:linux

Comments

@woodruffw
Copy link
Owner

kbs2 currently uses the default behavior from rust-clipboard, which is to use the "Clipboard" selection on X11.

We should also support the "Primary" selection, enabling uses to use their middle mouse button to paste secrets from kbs2 pass -c.

The configuration is already in place for this, in the form of the X11Clipboard enum and the commands.pass.x11-clipboard setting.

@woodruffw woodruffw added enhancement New feature or request help wanted Extra attention is needed labels May 16, 2020
@woodruffw woodruffw added this to the 1.0 milestone May 16, 2020
@woodruffw woodruffw removed this from the 1.0 milestone Jun 8, 2020
woodruffw added a commit that referenced this issue Aug 28, 2020
This took way more effort than it should have.

Closes #3.
woodruffw added a commit that referenced this issue Aug 28, 2020
* kbs2/command: Add X11 primary clipboard support

This took way more effort than it should have.

Closes #3.

* README: Remove old note

* kbs2/command: Don't use cfg!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:cli enhancement New feature or request help wanted Extra attention is needed P:linux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant