diff --git a/README.md b/README.md index dae6b1c..3fc3681 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,5 @@ clippyboard currently supports the following MIME types: It will try to read out one of them (in descending preference) and store that value and provide it later. If no supported MIME type is found, the clipboard entry is not stored. + +https://github.com/user-attachments/assets/0bfdfe39-1177-4d11-bf5a-63e738751d7a diff --git a/src/daemon.rs b/src/daemon.rs index 937e591..c42e6cd 100644 --- a/src/daemon.rs +++ b/src/daemon.rs @@ -495,6 +495,7 @@ pub fn main_inner(socket_path: &PathBuf) -> eyre::Result { ExtDataControlManagerV1::interface().name ); } + rustix::fs::fcntl_setfl(notify_write_recv.as_fd(), OFlags::NONBLOCK).expect("todo"); rustix::fs::fcntl_setfl(conn.as_fd(), OFlags::NONBLOCK).expect("TODO");