CLI utility to copy the contents of a file to the clipboard written in Rust. Inspired in xclip. Supports X11, sometime Wayland.
cargo install rclip
Copy the contents of a pipe to the clipboard.
$ echo "Hello world" | rsclip
$ rsclip
Hello world
Paste the contents of a file to the clipboard.
$ rclip
Clipboard content
$ rclip -p
Clipboard content
$ rclip --paste
Clipboard content
Copy the contents of a file to the clipboard.
$ rclip <file>
$ rclip -c <file>
$ rclip --copy <file>
- Copy from pipe
- Solve issues under Wayland
- Config files to change default behavior
- Add clipboard history
- Add colorful output
- Add clear flag
- Test
- Sanitize clipboard contect
- Migrate to clap for argument management