<div dir="ltr"><div>Yes<br><br></div>More visibility fewer mistakes less uncertainty.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 14, 2016 at 11:30 PM, Emil Lundberg <span dir="ltr"><<a href="mailto:lundberg.emil@gmail.com" target="_blank">lundberg.emil@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I can't look at your patch right now, but judging by the description I've made a series of similar patches myself [1]. My solution adds a callback hook to pass itself, which can then be used by passmenu to display a notification when the password is copied to the clipboard. It doesn't notify when the clipboard is reset, though, but the same approach could be used there.</p>
<p dir="ltr">[1]: <a href="https://github.com/emlun/password-store/commits/passmenu-notify" target="_blank">https://github.com/emlun/password-store/commits/passmenu-notify</a></p>
<p dir="ltr">Is anyone else interested in this feature?</p><span class="HOEnZb"><font color="#888888">
<p dir="ltr">/Emil</p></font></span><div class="HOEnZb"><div class="h5">
<br><div class="gmail_quote"><div dir="ltr">On Wed, 13 Apr 2016, 16:31 Allan Odgaard, <<a href="mailto:lists%2Bpass@simplit.com" target="_blank">lists+pass@simplit.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This seems to require a `notify-send` helper tool, correct?<br>
<br>
How about a `-w/--wait` option?<br>
<br>
Then for `notify-send` you could do:<br>
<br>
pass -cw «password» && notify-send 'Password cleared from<br>
clipboard' 'Clipboard reset…'<br>
<br>
I use `pass` with Alfred (OS X app launcher) and here Alfred allows<br>
showing notifications (via the OS notification system), so `pass --wait`<br>
would also be useful in that context.<br>
<br>
In fact, what I currently have is this:<br>
<br>
pass -c "{query}"<br>
sleep "${PASSWORD_STORE_CLIP_TIME:-45}"<br>
<br>
<br>
<br>
On 13 Apr 2016, at 21:17, Fernando Vezzosi wrote:<br>
<br>
> With this, we can have an indication about the clipboard contents<br>
> changing.<br>
><br>
> No more playing the "have the 45 seconds past yet?" guessing game.<br>
><br>
> No more "I'll try pasting over here in plaintext first, see if it<br>
> looks like a<br>
> password or like the clipboard's previous contents".<br>
><br>
> --<br>
> % perl -E'$_="Pop Corn",s/\b\S(?{$0=$&^_^L})/$0/g,say'<br>
> _______________________________________________<br>
> Password-Store mailing list<br>
> <a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
> <a href="http://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">http://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
_______________________________________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
<a href="http://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">http://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com">Password-Store@lists.zx2c4.com</a><br>
<a href="http://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">http://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
<br></blockquote></div><br></div>