savedra1 / clipse

Configurable TUI clipboard manager for Unix
MIT License
332 stars 12 forks source link

[Feature Request] Output entire clipboard #111

Open catdotjs opened 3 months ago

catdotjs commented 3 months ago

If there is a similar flag to -p that instead of outputting current selected, outputted everything in the clipboard. Then stuff like dmenu or rofi could be used. Effectively making this a consistent wayland/x11(xwayland) clipboard(clipboards like cliphist fail on this while using sway or hyprland).

I initially thought -p would output entire clipboard. The writing seems to hint to that. Maybe specify it will print current selected?

I ask for -o argument that outputs everything in clipboard out so commands like clipse -o | rofi -dmenu | clipse -a could be used.

savedra1 commented 3 months ago

Hey @catdotjs :wave:

Thanks for raising this, I understand the value here. I can see this being a challenge to get rofi/demenu to parse image and text data consistently. It would require some refactoring/a new selection command to get that to work. One of the original ideas for clipse also was not having to require a third-party picker like this.

I will keep this in mind for future releases though!

Also, feel free to raise a PR for this if you'd like to give it a try in the meantime :smile: