From 100c03375eaeb4a1e53f165d6a79e5e993c84841 Mon Sep 17 00:00:00 2001 From: Paul Fariello Date: Fri, 26 Jun 2026 15:37:43 +0200 Subject: [PATCH] feat: copy to both clipboard and primary on wayland copy/paste action on wayland clipboarder allow for copying to both clipboard and primary. Add the exact same behavior to the copy action. --- src/picker/clipboarder/wl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/picker/clipboarder/wl.py b/src/picker/clipboarder/wl.py index 7a95afa..c347535 100644 --- a/src/picker/clipboarder/wl.py +++ b/src/picker/clipboarder/wl.py @@ -16,6 +16,7 @@ def name() -> str: def copy_characters_to_clipboard(self, characters: str) -> None: run(["wl-copy"], input=characters, encoding="utf-8") + run(["wl-copy", "--primary"], input=characters, encoding="utf-8") def copy_paste_characters(self, characters: str, active_window: str, typer: Typer) -> None: old_clipboard_content = run(args=["wl-paste", "--type", "text"], capture_output=True, encoding="utf-8")