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

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


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/3e280f63/attachment.html>
-------------- next part --------------
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEEa3x2MSMZ6TOzrbsbfPTaG2Lx3gFAlzqIOMACgkQbfPTaG2L
x3gfmA//aZBfTuI8v2Wghk7kFuBTTW3mp/GtFMUUtV5Ew8ZRAoBcMcFFI/OrSSR1
C0wS6en4yf4BXtXvoe9HIDdMI7FRCfLPZ1v+hTSpbH3ZSXVRgvpj5P+vfGN5GYlc
rGwRUdSqtkWByfoUk0CFEZoWMazMewg9wT7nY6hAECfhwb0S8ueA9ekizgO+C/6g
keQVd7VnqzvkVz2ApDss2OjJHNtItO1i/LFXaDLTnBMAzLXEVoJ3dTrDROV3naFN
UWYWJAje0HbZevPZVi3jWLTTxVYLzifJ0X/UYwpKMO8Dem4fcy+EtSWxva4iXX9c
bCm6fpHLY0/DrqNjWb481OK4rp3qtnj4xP734AJiGA8Wt8qI0gVTk0rtU5dGU+OG
RRS3ILy9ObyfJ21rkY8MdiIZevxek50ju8da3CMJe44T0i0LddRaA5zHV0YIfZAd
nlA8AsPLztPWp9LmDGU1ata3Ag4DuRrsqitPsNLDmcV9XmEX6omyQtL/B2HLh/Bg
tqWETNY78Ld5wPQhzuDK9XhdNs/CBItqNDn9nQF1ydRoCUPnd3JwTHzuk7JZRkq2
x3u9U2/sjGyz61uu/31dwKqQeZiYpSPzLOSg595kcLBoB1ZzmlKX13/hur3A0gUv
M7ivmvF6L7upzADUXjIu9hjCHWaq397ivKeYnS0uQaZkVsT0wro=
=Gxdp
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-activate-option-to-passmenu.patch
Type: application/x-patch
Size: 3019 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20190526/3e280f63/attachment.bin>


More information about the Password-Store mailing list