Crates.io | crepe-bordeaux |
lib.rs | crepe-bordeaux |
version | 0.1.1 |
source | src |
created_at | 2024-03-06 16:55:39.78349 |
updated_at | 2024-03-09 02:00:06.187301 |
description | The cross-platform clipboard cli tool |
homepage | https://github.com/Mcmartelle/crepe-bordeaux |
repository | https://github.com/Mcmartelle/crepe-bordeaux |
max_upload_size | |
id | 1164999 |
size | 46,184 |
The cross-platform clipboard cli tool
$ echo "foo" | cb
$ cb
foo
$ cb clear
$ echo "thing I want to save for a while" | cb memorable-name
$ cb memorable-name
thing I want to save for a while
$ cb list
memorable-name
$ cb memorable-name clear
$ cb clear-all
$ cb $(cb list | fzf)
cb
will write to a .txt file in the folder determined by Rust's std::env::temp_dir
Set the environment variable CB_DIR
I was enjoying Amila's cb
interface on my main computer and had already forked it to add Wayland support with arboard. However, on a minimal install of NixOS with no display/window manager there was no clipboard for it to use, so I made this.
The names clipboard-cli and cli-clipboard were already taken, and tealdeer inspired creativity.