Skip to content

ShellTux/wl-clipboard-history

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

It's also possible to ignore tracking the clipboard for a specific window class.

For example, to ignore tracking the clipboard for KeePassXC add the following line to ~/.config/wl-clipboard-history/ignore:

org.keepassxc.KeePassXC

TODO

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

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%