← back

grace/tpb

Tee your Paste Board

git clone https://git.gae.moe/grace/tpb

Grace Yoderfix: bumped version in places i forgorbd32f9c

main
1 folder9 files

files

src/
.gitignore361 B
LICENSE1.0 KiB
README.md709 B
build.zig2.3 KiB
build.zig.zon247 B
default.nix1.0 KiB
flake.lock569 B
flake.nix583 B
hook.nix2.3 KiB

TPB

Pronounced tee pee bee or tee pasteboard

TPB is a super simple, small program to "tee" into my clipboard using OSC 52 codes, native objc code, and linux clipboard providers.

Download Static Binaries

Usage

command | tpb
tpb path/to/file

I was somewhat fed up with pbcopy eating stdout making it impossible to see the output of what I was doing without pasting it. While, yes, this could just be a shell script, I decided to write in a systems language because its more fun and I like the idea of it being super low latency. Originally, I was going to write this in Rust but decided that Zig was a better fit for something like this.