/xcp

A very simple cli tool to setting of the X selection from stdin

Primary LanguageGoApache License 2.0Apache-2.0

xcp - put down the mouse!

You don't need to mouse to copy command result to clipboard. A very simple cli tool to setting of the X selection from stdin.


Description

It is very similar to xclip without pasting/getting data from clipboard functionalities.


Usage

Type your command and then use vertical bar character with xcp (e.g: ls -A1 | grep -E '\.sh|\.py' | xcp) to copy previous command result to clipboard.