MCPcopy Index your code
hub / github.com/Smithay/smithay-clipboard

github.com/Smithay/smithay-clipboard @v0.7.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.7.3 ↗ · + Follow
70 symbols 85 edges 5 files 13 documented · 19%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

crates.io

Smithay Clipboard

This crate provides access to the Wayland clipboard for applications already using some sort of GUI toolkit or a windowing library, like winit, since you should have some surface around to receive keyboard/pointer events.

If you want to access clipboard from the CLI or to write clipboard manager, this is not what you're looking for.

Documentation

The documentation for the master branch is available online.

The documentation for the releases can be found on docs.rs.

Contact Us

If you have questions or want to discuss the project with us, join our chatroom on matrix: #sctk:matrix.org.

Core symbols most depended-on inside this repo

store_selection
called by 2
src/state.rs
load_selection
called by 2
src/state.rs
set_non_blocking
called by 2
src/state.rs
draw
called by 2
examples/clipboard.rs
load
called by 1
src/lib.rs
store
called by 1
src/lib.rs
load_primary
called by 1
src/lib.rs
store_primary
called by 1
src/lib.rs

Shape

Method 58
Function 5
Class 4
Enum 3

Languages

Rust100%

Modules by API surface

src/state.rs29 symbols
examples/clipboard.rs27 symbols
src/lib.rs7 symbols
src/mime.rs4 symbols
src/worker.rs3 symbols

For agents

$ claude mcp add smithay-clipboard \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact