Skip to content

Fix for copy not persisting after Satty closes #406

@rabbit-time

Description

@rabbit-time

I used the following copy-command to solve the problem referenced in #95.

copy-command = "cliphist store && cliphist list | head -n 1 | cliphist decode | wl-copy"

Not sure if there is a simpler command here, but this worked for me.

Now, when I click the copy button and close Satty (or have early-exit enabled), the image persists in cliphist and so it keeps the contents of the clipboard from being destroyed.

Consider adding something in FAQ to help others? I feel it should be considered expected behavior, especially with early-exit functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions