Skip to content

feat: copy to both clipboard and primary on wayland#241

Open
paulfariello wants to merge 1 commit into
fdw:mainfrom
paulfariello:patch-1
Open

feat: copy to both clipboard and primary on wayland#241
paulfariello wants to merge 1 commit into
fdw:mainfrom
paulfariello:patch-1

Conversation

@paulfariello

Copy link
Copy Markdown

copy/paste action on wayland clipboarder allow for copying to both clipboard and primary.

Add the exact same behavior to the copy action.

copy/paste action on wayland clipboarder allow for copying to both clipboard and primary.

Add the exact same behavior to the copy action.
@fdw

fdw commented Jun 26, 2026

Copy link
Copy Markdown
Owner

This is the same behavior as for xsel and xclip. Is there a reason you want it in both clipboards?

@paulfariello

Copy link
Copy Markdown
Author

@fdw yes the same behavior as for xclip. The main workflow is when copying for pasting in a terminal with middle click (so from the principal clipboard). When doing the copy rofi doesn't know where the user want to paste so it seems ok to copy in all "selection".

@fdw

fdw commented Jun 27, 2026

Copy link
Copy Markdown
Owner

I meant that currently, all clipboarders only use the primary keyboard. If we change that, it should be for all of them.

Also, please let me think if I want to hide this behind a configuration. It seems a bit destructive to change both clipboards.

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.

2 participants