diff --git a/Cargo.toml b/Cargo.toml index ff2b048..dcbca38 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "smithay-wayland-clipboard" +name = "smithay-clipboard" version = "0.1.0" authors = ["Lucas Timmins "] edition = "2018" diff --git a/README.md b/README.md index 7339cd6..1dbf11d 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ -[![crates.io](http://meritbadge.herokuapp.com/smithay-wayland-clipboard)](https://crates.io/crates/smithay-wayland-clipboard) -[![Build Status](https://travis-ci.org/Smithay/wayland-clipboard.svg?branch=master)](https://travis-ci.org/Smithay/wayland-clipboard) +[![crates.io](http://meritbadge.herokuapp.com/smithay-clipboard)](https://crates.io/crates/smithay-clipboard) +[![Build Status](https://travis-ci.org/Smithay/smithay-clipboard.svg?branch=master)](https://travis-ci.org/Smithay/smithay-clipboard) -# Smithay Wayland Clipboard +# Smithay Clipboard -This crate provides access to the wayland clipboard with only requirement being a WlDisplay object. +This crate provides access to the wayland clipboard. ## Documentation -The documentation for the master branch is [available online](https://smithay.github.io/wayland-clipboard/). +The documentation for the master branch is [available online](https://smithay.github.io/smithay-clipboard/). -The documentation for the releases can be found on [docs.rs](https://docs.rs/smithay-wayland-clipboard). +The documentation for the releases can be found on [docs.rs](https://docs.rs/smithay-clipboard). diff --git a/doc_index.html b/doc_index.html index 5cdfc8e..070dbf4 100644 --- a/doc_index.html +++ b/doc_index.html @@ -1,6 +1,6 @@ - + diff --git a/examples/clipboard.rs b/examples/clipboard.rs index 0ea5354..6bbba47 100644 --- a/examples/clipboard.rs +++ b/examples/clipboard.rs @@ -18,7 +18,7 @@ fn main() { Display::connect_to_env().expect("Failed to connect to the wayland server."); let env = Environment::from_display(&*display, &mut event_queue).unwrap(); - let mut clipboard = wayland_clipboard::WaylandClipboard::new_threaded( + let mut clipboard = smithay_clipboard::WaylandClipboard::new_threaded( display.get_display_ptr() as *mut std::ffi::c_void, ); let cb_contents = Arc::new(Mutex::new(String::new())); diff --git a/src/lib.rs b/src/lib.rs index 94c8894..916b3aa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,7 @@ //! ```no_run //! let (display, mut event_queue) = //! Display::connect_to_env().expect("Failed to connect to the wayland server."); -//! let mut clipboard = wayland_clipboard::WaylandClipboard::new_threaded( +//! let mut clipboard = smithay_clipboard::WaylandClipboard::new_threaded( //! display.get_display_ptr() as *mut std::ffi::c_void, //! ); //! clipboard.store("Test data");