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

delete item from list #18

Closed
Mathew-D opened this issue Oct 23, 2021 · 3 comments
Closed

delete item from list #18

Mathew-D opened this issue Oct 23, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@Mathew-D
Copy link
Contributor

I am trying to get cliphist to delete an item in the list from a menu selection and I am hoping someone can help.
I have tried:
cliphist list | rofi -dmenu | cliphist delete
but it says: "please provide a delete query" so instead I tried
cliphist list | rofi -dmenu > cliphist delete
The command doesn't give an error but it doesn't remove the item.

Any help would be great.
Thanks.

@sentriz
Copy link
Owner

sentriz commented Oct 23, 2021

the cliphist delete is meant for manually searches. eg $ cliphist delete password

but I just added a command so this should work:

cliphist list | rofi -dmenu | cliphist delete-stdin which will decode the ID and delete that way instead

sorry the docs around cliphist are basically non-existent :)

@Mathew-D
Copy link
Contributor Author

Can you do a release with this update please.

sentriz added a commit that referenced this issue Oct 24, 2021
@sentriz
Copy link
Owner

sentriz commented Oct 24, 2021

Added

@sentriz sentriz added the enhancement New feature or request label Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants