grace/tpb
Tee your Paste Board
git clone https://git.gae.moe/grace/tpb
7d77039
0.1.3
files
| src/ | |
| .gitignore | 361 B |
| LICENSE | 1.0 KiB |
| README.md | 709 B |
| build.zig | 2.3 KiB |
| build.zig.zon | 247 B |
| default.nix | 1.0 KiB |
| flake.lock | 569 B |
| flake.nix | 583 B |
| hook.nix | 2.3 KiB |
TPB
Pronounced
tee pee beeortee pasteboard
TPB is a super simple, small program to "tee" into my clipboard using OSC 52 codes, native objc code, and linux clipboard providers.
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.