Giter VIP home page Giter VIP logo

wl-clipboard-history's Introduction

wl-clipboard-history: Wayland clipboard history tracker

Simple bash script that uses wl-clipboard and sqlite to remember wayland clipboard history.

Usage

Usage: ./wl-clipboard-history OPTION [ARG]

   -t           Track clipboard changes
   -l [NUMBER]  Print last NUMBER of clipboard entries (defaults to 10 entries)
   -p [INDEX]   Print clipboard entry at INDEX (defaults to the last entry)

To use with sway add the following to your configuration:

exec wl-clipboard-manager -t

There's also a fzf wrapper for selecting the contents with a TUI.

TODO

  • Add support to delete entries from the history (eg. secrets)

wl-clipboard-history's People

Contributors

janza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wl-clipboard-history's Issues

Shouldn't strip trailing newlines

I use neovim with clipboard=unnamedplus,unnamed and after doing linewise yanking (yy) the value in the clipboard gets modified so the newline is stripped. As a result, it changes the default behavior when putting (pasting) using p.

Support wofi

is there any way support for exporting the clipboard list to wofi could be added? It's quite possible that I'm just missing something though, and I apologize for my ignorance

[Feature Request] Primary selection

  • Show primary selection history + clipboard history in order.
  • After select primary one, copy to new clipboard item. So that became last copied item.

How about that? That was my preferred setup for X11 clipboard manager.

Thank for development.

[feature] Rofi support

Shows clipboard history with rofi:

wl-clipboard-history -l 20 | sed 's/^[^,]*,//g' | rofi -dmenu | wl-copy -n

Selected item will be of course copied as primary...

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.