https://github.com/cemkeylan/sclip
simple clipboard manager for X and TTY
https://github.com/cemkeylan/sclip
Last synced: about 1 year ago
JSON representation
simple clipboard manager for X and TTY
- Host: GitHub
- URL: https://github.com/cemkeylan/sclip
- Owner: cemkeylan
- License: mit
- Created: 2019-11-20T08:44:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-20T08:49:53.000Z (over 6 years ago)
- Last Synced: 2024-01-08T04:21:12.067Z (over 2 years ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
sclip
=====
dumb clipboard manager with 10 lines
of POSIX shell code (excluding whitespace)
Features
--------
* Pipe into sclip to add text to clipboard
* Can pipe the text being copied to stdout
* Very scriptable
* Literally shorter than this README
* Works both in X and TTY
Non-Features
-------------
* Does not use a complex buffer, writes into a file
* Does not integrate with the selection and
clipboard defined by the Free Desktop Specification
Usage Examples
--------------
[create a dmenu after copying text]
$ printf "list item 1\\nlist item 2\\n" | sclip -o | dmenu
[copy sclip to xclip or vice versa]
$ sclip -p | xclip -selection clipboard
$ xclip -out | sclip
Author
------
Cem Keylan