📋 Clipboard managers warper that SuperB
GPL-3.0 License
clipb
is a SuperB clipboard managers warper written in portable sh
that wraps various system-specific tools for interacting with a system clipboard.
When switch around Wayland and X.org, i realise my shell scripts that copy/paste text to and from clipboard are broken. So i strip the kakboard-autodetect
function out into a standalone CLI clipboard managers warper call clipb
to detect and interacting with any system clipboard.
Note Checkout
clipb.kak
, an extremely strip down fork of Kakboard.
tee
like pipeline (e.g: ls | clipb | grep -e 'string'
)wl-clipboard
xclip
xsel
pbcopy
, pbpaste
cygwin
's /dev/clipboard
termux-api
wl-clipboard
for Wayland
xclip
or xsel
for X.org
termux-api
for Termux
Option 1: using curl
curl https://raw.githubusercontent.com/NNBnh/clipb/main/bin/clipb > ~/.local/bin/clipb
chmod +x ~/.local/bin/clipb
Option 2: using git
git clone https://github.com/NNBnh/clipb.git ~/.local/share/clipb
ln -s ~/.local/share/clipb/bin/clipb ~/.local/bin/clipb
For Bpkg user:
bpkg install NNBnh/clipb
For Basher user:
basher install NNBnh/clipb
Note If you can and want to port Clipb to other package managers, feel free to do so.
Copy TEXTS
to clipboard:
clipb copy TEXTS
Paste from clipboard:
clipb paste
Special thanks to: