Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.
/ cb Public archive

Command line interface to manage clipboard

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

yaa110/cb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cb

Build Status Download

Command line interface to manage clipboard

How to install

Pre-Compiled

you can download a pre-compiled executable, then you should copy that executable to /usr/bin or add it to your $PATH env. Do not forget to chmod +x cb.

Distribution packages

Users of Arch Linux can install package from AUR:

  • Precompiled release: cb-bin (Only x64 is supported)
  • Build latest release: cb
  • Build from master: cb-git

Build Manually

  • Install rust: curl -sSf https://sh.rustup.rs | sh
  • Install packages: xorg-dev and build-essential
  • Run make && sudo make install

How to use

  • Copy text: cb -t "Text to be copied"
  • Paste copied text: cb -p
  • Copy from stdin: cat file | cb

Usage

Usage: cb [OPTIONS]

Optional arguments:
  -h, --help       Prints the help message
  -V, --version    Prints the version
  -p, --paste      Pastes the content of clipboard
  -c, --clear      Clears the content of clipboard
  -s, --server     Starts server as a daemon
  -r, --raw        Do not print newline after pasting the content
  -t, --text TEXT  Store TEXT into clipboard

About

Command line interface to manage clipboard

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published