• Stars
    star
    1,517
  • Rank 30,896 (Top 0.7 %)
  • Language
    C
  • License
    GNU General Publi...
  • Created almost 7 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Command-line copy/paste utilities for Wayland

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.

# 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.

License

wl-clipboard is free software, available under the GNU General Public License version 3 or later.

Related projects

  • wl-clipboard-x11: A wrapper to use wl-clipboard as a drop-in replacement to X11 clipboard tools.
  • wl-clipboard-rs: A Rust crate (library) for working with the Wayland clipboard which includes a reimplementation of wl-copy and wl-paste.

More Repositories

1

ladybird-gtk4

C++
35
star
2

lets-write-sync-primitives

Let's implement some synchronization primitives, shall we?
C++
18
star
3

rstd

The Rust standard library, but in C++
C++
12
star
4

writing-wayland-clients

The source code from the Writing Wayland clients book https://www.gitbook.com/book/bugaevc/writing-wayland-clients
C
11
star
5

asmwall

NASM handbook
HTML
11
star
6

dev-yes

Kernel-side yes implementation for various kernels
C
7
star
7

debian-toolbox

Debian and Ubuntu images for use with Toolbox
Dockerfile
5
star
8

hello-hurd

"Hello, Hurd!" without glibc
C
5
star
9

xyes

Display an X window with an infinite scrolling list of "y" characters
C
3
star
10

terrible-mdns-responder

A very bad, no good mDNS responder implementation.
C
3
star
11

objc-class-tree

Print a tree of Objective-C classes
Objective-C
2
star
12

graph-builder-ui

The new cool, fancy and responsive user interface for the GraphBuilder project
JavaScript
2
star
13

pipe-channel

Channel implementation based on pipes
Rust
2
star
14

wl-objc

Objective-C bindings for Wayland
Python
2
star
15

simple-http-server-tutorial

A step-by-step walkthrough of implementing a very basic HTTP server and a webapp nanoframework in pure Python
Python
2
star
16

leek

A simple multithreaded webserver
Python
1
star
17

one-base-class-to-rule-them-all

Objective-C port of the universal Base https://www.destroyallsoftware.com/blog/2011/one-base-class-to-rule-them-all
Objective-C
1
star
18

nothing

Android app that does nothing. Not even shows up in the launcher.
1
star
19

coroutines-lite

Kotlin
1
star
20

rustwiki

Following the Go tutorial on making a wiki, in Rust, using Rocket
Rust
1
star
21

iter-tee

Make several clones of an iterator
Rust
1
star
22

LaunchMonitor

Objective-C
1
star