mirror of
https://github.com/NotAShelf/stash.git
synced 2026-04-13 14:33:47 +00:00
docs: document clipboard persistence opt-in behaviour
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ie0830d547ba0e4fcbd620290b3d314b16a6a6964
This commit is contained in:
parent
da9bf5ea3e
commit
5cb6c84f08
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
|
@ -320,6 +320,25 @@ ask the compositor for image data first. Most users will be fine using the
|
||||||
default value (`any`) but in the case your browser (or other applications!)
|
default value (`any`) but in the case your browser (or other applications!)
|
||||||
regularly misrepresent data, you might wish to prioritize a different type.
|
regularly misrepresent data, you might wish to prioritize a different type.
|
||||||
|
|
||||||
|
#### Clipboard Persistence
|
||||||
|
|
||||||
|
By default, when you copy something and close the source application, Wayland
|
||||||
|
clears the clipboard. Stash can optionally keep the clipboard contents available
|
||||||
|
after the source closes using the `--persist` flag.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
stash watch --persist
|
||||||
|
```
|
||||||
|
|
||||||
|
When enabled, Stash will fork a background process to serve the clipboard
|
||||||
|
contents, keeping them available even after the original application exits.
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> This feature is **opt-in** and disabled by default, as it may not be desirable
|
||||||
|
> for all users and can leave clipboard data in memory longer than expected. You
|
||||||
|
> must start the `stash watch` daemon with `--persist` for clipboard
|
||||||
|
> persistence.
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
Some commands take additional flags to modify Stash's behavior. See each
|
Some commands take additional flags to modify Stash's behavior. See each
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue