Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Image Preview and Multi-Selection in Clipboard #289

Open
ibrahimkettaneh opened this issue Jan 30, 2024 · 2 comments
Open

Comments

@ibrahimkettaneh
Copy link

Hello,

Firstly, I want to express my appreciation for this project. The comprehensive features and well-documented resources make it a pleasure to use. As a regular user of hyprland (wayland compositor), cliphist, and rofi, I have a couple of feature suggestions that I believe could enhance the user experience.

  1. Image Preview in Rofi: Cliphist offers the ability to preview images in rofi, which I find incredibly useful. I have configured my setup to enlarge the images when I press alt with the cliphist hotkey. Implementing a similar feature here would be beneficial, allowing users to make better use of the image preview.

  2. Sorting and Multi-Selection in Clipboard: Drawing inspiration from my experience with CopyQ, I propose two enhancements:

    • Sorting by Index: This feature would allow users to reverse the order of certain entries, providing more flexibility in managing the clipboard.
    • Multi-Selection: The ability to select multiple entries and concatenate them into a new copied entry would be a powerful addition. This could be extended to reversing the sort order as well.

I believe these features would significantly improve the user experience and I look forward to hearing your thoughts.

@xrelkd
Copy link
Owner

xrelkd commented Jan 30, 2024

@ibrahimkettaneh Thanks for your interest and detailed feature requests.

  1. cliphist does provide some good features that will be easy to implement on clipcat.
  2. The two features inspired from CopyQ are cool and useful as well.

I think that I will implement similar features in the near future.

@douo
Copy link
Contributor

douo commented Jan 20, 2025

I tried implementing this feature in rofi but found it quite challenging. The entry ID is generated by the built-in hash() function, while the image cache files are named using the sha256sum of the image content. There's no way to convert between the two externally. Could the logic for this be modified to make it more command-line friendly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants