cb

Crates.iocb
lib.rscb
version0.1.2
sourcesrc
created_at2021-08-07 23:44:46.197801
updated_at2021-08-08 03:46:21.785538
descriptionclipboard manager
homepage
repository
max_upload_size
id432962
size54,374
Eric Crowder (ebcrowder)

documentation

README

main Latest version

cb

Clipboard manager for Linux and macOS.

cb is a utility that allows you to get and set values on the system clipboard.

Examples

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

Installation

Install Rust and then do:

cargo install cb

Compilation

For Debian-based Linux distributions, install the system dependencies:

sudo apt install xorg-dev libxcb-present-dev

Then, compile the binary:

cargo build
Commit count: 0

cargo fmt