Clipboard managers warper that SuperB
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.
- Work with
teelike pipeline (e.g:ls | clipb | grep -e 'string') - Supported clipboard managers are:
wl-clipboardxclipxselpbcopy,pbpastecygwin's/dev/clipboardtermux-api
- Unix commands to process
wl-clipboardfor Waylandxcliporxselfor X.orgtermux-apifor Termux
Option 1: using curl
curl https://raw.githubusercontent.com/NNBnh/clipb/main/bin/clipb > ~/.local/bin/clipb
chmod +x ~/.local/bin/clipbOption 2: using git
git clone https://github.com/NNBnh/clipb.git ~/.local/share/clipb
ln -s ~/.local/share/clipb/bin/clipb ~/.local/bin/clipbFor Bpkg user:
bpkg install NNBnh/clipbFor Basher user:
basher install NNBnh/clipbNote If you can and want to port Clipb to other package managers, feel free to do so.
Copy TEXTS to clipboard:
clipb copy TEXTSPaste from clipboard:
clipb pasteSpecial thanks to:
Made with β€οΈ by NNB