phosphor-service-clipboard

De-duplicated, persistent clipboard history.

Watches the session clipboard, keeps a de-duplicated and capped on-disk history, and re-applies any entry. It is the policy and persistence layer over phosphor-wayland's ClipboardDevice (a wlr-data-control client), composed privately so no Wayland types leak out. Selections are read off a pipe so a slow producer never blocks the UI, and entries carrying a password-manager sensitivity hint are dropped before they are read. A shell binds the history model to render a picker and calls copy(index) to re-apply.

Full API →

Key types

ClipboardService
The history host: history model, count, copy(index) to re-apply, remove/clear to prune.

Dependencies

See also

References