[PATCH] passmenu: reactivate window after copying/before typing

Balázs Váradi netpok+pass at gmail.com
Sun May 26 07:28:14 CEST 2019


Okay, I just discovered shellcheck so here is an error free patch

On Sun, May 26, 2019 at 7:18 AM Balázs Váradi <netpok+pass at gmail.com> wrote:

> Hi all,
>
> After using pass and passmenu for some time, my problem is that if the gpg
> pinentry window pops up sometimes other programs can steal focus upon the
> closing of that window. This pull request adds the following:
>
>    1. An option to reactivate the currently active window with the -a or
>    --activate option
>    2. A -t shortcut for the --type option and also the handling of -at or
>    -ta
>    3. A check for the existence of xdotool
>    4. Return codes for failure:
>       1. Cancelled selection (1)
>       2. xdotool not found in path and it is required by a option (2)
>
> As I'm using gmail I couldn't find a way to insert the patch without
> loosing the spaces, so I attached it. Hope it is okay and this can help to
> someone else too.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20190526/86c02dfe/attachment.html>
-------------- next part --------------
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEEa3x2MSMZ6TOzrbsbfPTaG2Lx3gFAlzqI5cACgkQbfPTaG2L
x3jDFRAAwjLLrg4k5Waq4K+Xla2SGP0x01Z1oqG1hMvDOa7HOtAWbnNwl1njPDkN
oz/Jo+TghIIVvREHdzBhDh48DMY6Mfq94yra7IILZMYnzko56++MiIZqCFWhnDDC
A0sDoiSjm+bokMqW+A5l4cICpU4hmE4b5D6leXX5zC0R6f1jBr59K0BP03NtFM0W
F+3GtIwdg+VGA5Zd3TtM7DA68655cis1tzD1GoGw/RcdLeYrcY+bzlngR09VWx8U
6yo9CMxjMXPXuNz5W7B6Ppz7xes6beoX0xk7fDboSVIHr5Bwu7mok49ZUKGUXudJ
WDdhugRChp0YEoYeDIGllXOMx8SJs4yhjtyVgqHzBx1HUcd/ctq9/CSGG1OmCb4H
GfrexU2qoOYy5dm6cyf9N8vSx+yiCSmmTXc6ap3sGyJr1ZMDh0v7v8pFk7Ua9rYw
cUVjvjP1wVRyKUqiB80aISbVqXqMkAE08Ep4y6hlikldJl56clXuOFtazNogkhUg
Fvt2wXRq6MsOrYWWDCz3gtuR8k17eT5ZXXCm8S2zUwFzwUjTsspLVOUbC+dbyo7+
JB5t+ioOJOBP8RPXGVEvbq5Sp/+D8c2T70uMftNvpyuZKtVEf9lZOG1vWc3UnJGt
xjjwXGlh/U8v7rE7W9wUTleBgqk806tJ81SgHkmlUxM6dAhcKlo=
=974T
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-activate-option-to-passmenu-shellchecked.patch
Type: text/x-patch
Size: 3019 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20190526/86c02dfe/attachment.bin>


More information about the Password-Store mailing list