diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-07-18 02:52:22 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-07-18 03:24:33 -0400 |
commit | cf75da99817cadba82299ef3d106da5308433486 (patch) | |
tree | 9b7f74b1d6da0c1472a8e6cd00857d547e59b184 /src/protocol.rs | |
parent | 95c41b75e12d2cee4758c80cf36ab5e3331565e5 (diff) | |
download | rbw-cf75da99817cadba82299ef3d106da5308433486.tar.gz rbw-cf75da99817cadba82299ef3d106da5308433486.zip |
make clipboard manipulation happen from the agent
on x11 systems, you can't just send data to the os to store on the
clipboard, you just register which application currently owns the
clipboard and then other applications can use ipc to request the owning
application to send them the clipboard data. this requires there to be
an application still running in order to respond to those requests.
luckily, we have one of those available in the form of the agent.
Diffstat (limited to 'src/protocol.rs')
-rw-r--r-- | src/protocol.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/protocol.rs b/src/protocol.rs index f9a9d28..e883441 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -34,6 +34,9 @@ pub enum Action { plaintext: String, org_id: Option<String>, }, + ClipboardStore { + text: String, + }, Quit, Version, } |