/clipb

πŸ“‹ Clipboard managers warper that SuperB

Primary LanguageShellGNU General Public License v3.0GPL-3.0

πŸ“’ Check out cb. It's the successor to clipb!

clipb

Clipboard managers warper that SuperB

Development completed

πŸ’‘ About

clipb is a SuperB clipboard managers warper written in portable sh that wraps various system-specific tools for interacting with a system clipboard.

πŸ“” Story

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.

✨ Features

  • Work with tee like pipeline (e.g: ls | clipb | grep -e 'string')
  • Supported clipboard managers are:

πŸš€ Setup

🧾 Dependencies

πŸ“₯ Installation

πŸ”§ Manually

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

πŸ“¦ Package manager

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.

⌨️ Usage

Copy TEXTS to clipboard:

clipb copy TEXTS

Paste from clipboard:

clipb paste

πŸ’Œ Credits

Special thanks to:






Made with ❀️ by NNB

Buy Me a Coffee