Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bugaevc/wl-clipboard
Command-line copy/paste utilities for Wayland
https://github.com/bugaevc/wl-clipboard
clipboard wayland
Last synced: 25 days ago
JSON representation
Command-line copy/paste utilities for Wayland
- Host: GitHub
- URL: https://github.com/bugaevc/wl-clipboard
- Owner: bugaevc
- License: gpl-3.0
- Created: 2018-01-25T15:09:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-15T04:11:54.000Z (3 months ago)
- Last Synced: 2024-10-01T15:41:23.103Z (about 1 month ago)
- Topics: clipboard, wayland
- Language: C
- Size: 311 KB
- Stars: 1,554
- Watchers: 14
- Forks: 61
- Open Issues: 46
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome-starred - bugaevc/wl-clipboard - Command-line copy/paste utilities for Wayland (others)
README
# wl-clipboard: Wayland clipboard utilities
This project implements two command-line Wayland clipboard utilities, `wl-copy`
and `wl-paste`, that let you easily copy data between the clipboard and Unix
pipes, sockets, files and so on.```bash
# Copy a simple text message:
$ wl-copy Hello world!# Copy the list of files in ~/Downloads:
$ ls ~/Downloads | wl-copy# Copy an image:
$ wl-copy < ~/Pictures/photo.png# Copy the previous command:
$ wl-copy "!!"# Paste to a file:
$ wl-paste > clipboard.txt# Sort clipboard contents:
$ wl-paste | sort | wl-copy# Upload clipboard contents to a pastebin on each change:
$ wl-paste --watch nc paste.example.org 5555
```Please see the wl-clipboard(1) man page for more details.
# Installing
wl-clipboard is likely available in your favorite Linux or BSD distro. For
building from source, see [BUILDING.md](BUILDING.md).# License
wl-clipboard is free software, available under the GNU General Public License
version 3 or later.# Related projects
* [wl-clipboard-x11](https://github.com/brunelli/wl-clipboard-x11): A wrapper to
use wl-clipboard as a drop-in replacement to X11 clipboard tools.
* [wl-clipboard-rs](https://github.com/YaLTeR/wl-clipboard-rs): A Rust crate
(library) for working with the Wayland clipboard which includes a
reimplementation of `wl-copy` and `wl-paste`.