Giter Site home page Giter Site logo

wclipd's Introduction

wclipd

A Customizable Clipboard Manager for Wayland

Features

  • 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

Why

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.

Installation

$ make install

Usage

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

Configuration

Customize Wclipd Storage and Behavior using the available CLI flags or via its configuration file.

Advanced Usage

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     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

wclipd's People

Contributors

imgurbot12 avatar

Stargazers

 avatar Aneeq Asif avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.