ulauncher-clipboard icon indicating copy to clipboard operation
ulauncher-clipboard copied to clipboard

Pinned items

Open damms005 opened this issue 2 years ago • 3 comments

Describe the solution you'd like Allow pinning of some items, so that they never go away from history except unpinned.

PR allowed for this? @friday ?

damms005 avatar Dec 22 '23 20:12 damms005

PR allowed for this? @friday ?

First off, thank you for the offer, and for asking first :pray: :+1:

This is not something I want added to the extension myself. I think this use case is different enough from how I think of clipboard managers, to warrant its own tool and its own extension. It sounds like a snippet manager or "text expander". Then there are already tools for that, like https://espanso.org/ or https://github.com/leehblue/texpander which have features dedicated to this use case beyond what a clipboard manager would have, and which I wouldn't want to add to ulauncher-clipboard.

Maybe there are corner cases where you want to persist something but you're how long, or haven't decided on a shortcut for it yet, but I think you can handle that with a snippet manager too.

You can also of course fork the extension, add this and promote your fork in this thread to others who would want this feature. I'd be happy to keep the issue open for that.

friday avatar Dec 23 '23 10:12 friday

Also, there are some extensions for this use case already I think if you search for "snippet". This one in particular seems to be a popular and general snippet manager: https://ext.ulauncher.io/-/github-mikebarkmin-ulauncher-snippets (I haven't tested it though).

friday avatar Dec 23 '23 11:12 friday

Thanks for the timely response. I really appreciate it.

From you suggestions above, I think you are kind of over-thinking this feature.

I will make an example with the stock Google Android Keyboard that has this same feature in the clipboard. See screenshot below:

image

I understand that new features becomes additional maintenance burden, but firstly, I believe that this feature will make any clipboard tool to be much more versatile, as evident in the case of Google keyboard shown above. Secondly, this can be an opt-in feature that is disabled by default.

But again, I understand and appreciate your position on this and it's totally ok if you think otherwise 👌

Edit: Just wanted to add that https://github.com/leehblue/texpander and https://ext.ulauncher.io/-/github-mikebarkmin-ulauncher-snippets are no longer maintained and https://espanso.org is just an overkill for what I am trying to describe, imho

damms005 avatar Dec 24 '23 14:12 damms005