Skip to content

kkga/cliphist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

looking for cliphist-sh?

cliphist

clipboard history “manager” for wayland

  • write clipboard changes to a history file
  • recall history with dmenu (for example)
  • both text and images are supported
  • clipboard is preserved byte-for-byte
    • leading / trailing whitespace / no whitespace or newlines are preserved
    • won’t break fancy editor selections like vim wordwise, linewise, block mode
  • no concept of a picker, only pipes

requires: go, wl-clipboard, xdg-utils

install

$ go install go.senan.xyz/cliphist

usage

listen for clipboard changes

$ wl-paste --watch cliphist store
this will listen for changes on your primary keyboard and write it to the history.
call it once per session - for example in your sway config

select old item

$ cliphist list | dmenu | cliphist decode | wl-copy
bind it to something nice on your keyboard

About

wayland clipboard manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 91.3%
  • Shell 8.7%