Hi,

I just had a look inside pass for the first time ever and realised it could
generate QR codes and display them on a graphical Linux/UNIX terminal. To
display inline graphics on a Mac, one could use imgcat, often installed
along with the iTerm2 terminal. Adding imgcat support to pass would be as
simple as adding the following to the qrcode() function:

if type imgcat >/dev/null 2>&1; then
   echo -n "$1" | qrencode --size 10 -o - | imgcat
   return
fi

To make the function Apple-compatible using the default image viewer, one
would have to create a temporary file, open it with the `open` command, and
remove the file once the default image viewer is closed. Not something i'd
care to do :)

As i just joined this list, i don't know if this has been discussed here,
or if it's even anything you'd appreciate as an addition.

Thanks and regards,
 ~Robin Laurén @ reaktor
_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to