A Customizable Clipboard Manager for Wayland
- Blazingly Fast ๐ฅ
- Simple and Easy to Use
- Unifies Clipboard Tooling into One Binary
- Manage and Categorize Your Snippets
- Multiple and Customizable Storage Options
- Exact Control on How Long your Copies last
After looking at existing clipboard management tools for wayland, NONE of the existing solutions have all the features I wanted in one easy-to-use tool.
Second, Having an all-in-one daemon avoids many of the weird hacks required by other solutions due to the nature of wayland and its protocols.
Due to waylands design, in order for a copy snippet to remain
available, a process that includes that snippet must always be running.
Tools like wl-clipboard
use dirty hacks to spawn a fork of themselves
to sit and wait in the background so you can paste snippets copied from
the terminal. Using a unified daemon avoids these problems.
$ make install
View all available options and commands via the built-in help
$ wclipd --help
Ensure the Daemon is Running in the Background. Easy to Include in Your Sway Config For Example.
$ wclipd daemon
Copy and Paste via Terminal with Ease
$ wclipd copy 'hello world!'
$ wclipd paste
View a History of Available Snippets. Previews are listed from oldest to most-recent copy with timestamps.
$ wclipd copy 'hello'
$ wclipd copy 'world!'
$ wclipd show
โโโโโฌโ default โโฌโโโโโ
โ 0 โ hello โ 6s โ
โ 1 โ world! โ 1s โ
โโโโโดโโโโโโโโโโโโดโโโโโ
Paste Older Copy Snippets using their Index
$ wclipd paste 0
hello
Customize Wclipd Storage and Behavior using the available CLI flags or via its configuration file.
Copy/Paste Images
$ cat <your-image.jpg> | wclipd copy
$ wclipd paste | feh -
Re-Copy an Old Entry to Active Clipboard
$ wclipd re-copy 0
$ wclipd p
hello
Delete an Entry
$ wclipd delete 0
$ wclipd s
โโโโโฌโ default โโฌโโโโโ
โ 1 โ world! โ 5s โ
โโโโโดโโโโโโโโโโโโดโโโโโ
Categorize Your Entries into Groups On Input
$ wclipd copp ':)' --group smiles
$ wclipd s smiles
โโโโโฌโ smiles โโฌโโโโโ
โ 0 โ :) โ 3s โ
โโโโโดโโโโโโโโโโโดโโโโโ
$ wclipd p -g smiles
:)
View Existing Groups
$ wclipd list-groups
โโโโโโโโโโโฌโโโโโโโโโโ
โ smiles โ 57s โ
โ default โ 41s โ
โโโโโโโโโโโดโโโโโโโโโโ