sentriz/cliphist

Copying Image from browser comes with HTML and Image

Paulo-B opened this issue · 1 comments

I followed, as mentioned in #33 two instances of wl-paste. This is the configuration that I have in Sway:

exec_always {
  pkill wl-paste
  wl-paste --type image -p --watch $clipboardmanager store
  wl-paste --type text -p --watch $clipboardmanager store 
}

And still I have the HTML and the image both copied to the clipboard.

that's just a side effect of wl-paste -t text for images. I would recommend just filtering it out in your pipeline after cliphist list