| Crates.io | cb |
| lib.rs | cb |
| version | 0.1.2 |
| created_at | 2021-08-07 23:44:46.197801+00 |
| updated_at | 2021-08-08 03:46:21.785538+00 |
| description | clipboard manager |
| homepage | |
| repository | |
| max_upload_size | |
| id | 432962 |
| size | 54,374 |
Clipboard manager for Linux and macOS.
cb is a utility that allows you to get and set values on the system clipboard.
Using cb is quite simple. Getting the current clipboard value is done via the following:
cb get
When setting a value on the system clipboard, simply pipe the value to cb:
echo foo | cb set
Finally, to clear a value from the clipboard, do the following:
cb clear
Install Rust and then do:
cargo install cb
For Debian-based Linux distributions, install the system dependencies:
sudo apt install xorg-dev libxcb-present-dev
Then, compile the binary:
cargo build