xclip -loops for pass
Dirk Braunschweiger
password-store at dirkmb.de
Thu May 22 08:29:31 UTC 2025
Hey Martin,
this feature really sounds great. I did not know about the -loops
parameter. For pasting the pastword it would be a good solution.
Concerning the username feature: I would really like this! Currently I
have some local changes for using the second clipboard to store the
username. But beeing able to post the username once and afterwards the
password once sounds like a better solution.
Best regards,
Dirk
On Wed, Apr 23, 2025 at 07:21:54PM +0200, martin f. krafft wrote:
> Folks,
>
> I just had a bit of fun with `pass`, and one of the things I did was try to
> come up with a wrapper that would put the username on the clipboard until it
> was pasted, and then the password, until it was pasted. I used `xclip -loops
> 1` for that.
>
> And this made me realise: `pass` uses `xclip` internally, right? Why the 45
> second wait and overwrite? `xclip -loops 1` makes the password available
> once exactly, and after a paste, the clipboard is empty.
>
> What's more: wouldn't this be cool functionality? `pass both
> example.org/uid` and I get the username for one paste, and then the password
> for one paste?
>
> Looking forward to your thoughts…
>
> Best,
>
> --
> martin krafft | https://matrix.to/#/#madduck:madduck.net
>
> weapon, n.:
> an index of the lack of development of a culture.
> {: .blockquote }
>
> spamtraps: madduck.bogus at madduck.net
> {: .hidden }
>
More information about the Password-Store
mailing list