Skip to content

triarius/wl-clipboard-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wl-clipboard-manager

This is a simple wrapper over wl-clipboard that implements a clipboard manager.

Features

  • Preview window for multi-line entries (even somewhat colorized)
  • Picture preview using kitty icat protocol

demo

Dependencies

It is currently heavily dependent on specific tools that I use, but I don't oppose making the script more generic - if there is an interest, just open a PR and let's discuss!

  • dmenu-term - my own dmenu implementation that allows providing \0-separated strings (important for multi-line entries) and custom preview (for colorizing the text, or image preview)
  • bat - for colorizing text
  • fzf - current preview syntax depends on --preview-window from fzf
  • sqlite3 - to store clipboard entries
  • python - to retrieve entries from database

Installation

On Arch Linux you can use wl-clipboard-manager package.

Alternatively, use sudo make install.

Usage

  • Start the daemon by running wl-clipboard-manager daemon or a systemd user service
  • Launch dmenu using wl-clipboard-manager dmenu
  • To copy sensitive text without saving it in clipboard history, use wl-clipboard-manager lock; <your-command>; wl-clipboard-manager unlock

About

Clipboard manager for Wayland

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors