[pass] [PATCH] Notify when password goes in/out of clipboard
Allan Odgaard
lists+pass at simplit.com
Wed Apr 13 16:30:40 CEST 2016
This seems to require a `notify-send` helper tool, correct?
How about a `-w/--wait` option?
Then for `notify-send` you could do:
pass -cw «password» && notify-send 'Password cleared from
clipboard' 'Clipboard reset…'
I use `pass` with Alfred (OS X app launcher) and here Alfred allows
showing notifications (via the OS notification system), so `pass --wait`
would also be useful in that context.
In fact, what I currently have is this:
pass -c "{query}"
sleep "${PASSWORD_STORE_CLIP_TIME:-45}"
On 13 Apr 2016, at 21:17, Fernando Vezzosi wrote:
> With this, we can have an indication about the clipboard contents
> changing.
>
> No more playing the "have the 45 seconds past yet?" guessing game.
>
> No more "I'll try pasting over here in plaintext first, see if it
> looks like a
> password or like the clipboard's previous contents".
>
> --
> % perl -E'$_="Pop Corn",s/\b\S(?{$0=$&^_^L})/$0/g,say'
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/password-store
More information about the Password-Store
mailing list