用于 Wayland 的命令行复制/粘贴工具
此项目实现了两个命令行 Wayland 剪贴板工具,wl-copy
以及 wl-paste, 它可以让您在剪贴板和 Unix 之间轻松地复制数据
管道、套接字、文件等。
# 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请参阅 wl-clipboard(1) 手册以了解更多详细信息。
wl-clipboard 可能已在您喜欢的 Linux 或 BSD 分发版中提供。 从源码构建,请参阅 BUILDING.md。
wl-clipboard 是自由软件,可根据 GNU 通用公共许可证进行使用 3 或更高版本。
暂无开放 Issues,或尚未同步最近议题。