PATCH: Split QR code viewers (X11/Wayland)

jman password-store at city17.xyz
Sun Jun 22 19:24:42 UTC 2025


Hello,

The tools used to open the PNG with the QRcode (`gm`, `display` and `feh`) are not compatible with
Wayland, I assume they work with Xwayland enabled but not without.

My proposal is to read $DISPLAY and $WAYLAND_DISPLAY separately and in case the second one is set,
then use a image viewer that works also with pure Wayland, i.e. without Xwayland (which sets
$DISPLAY, it I remember correctly).

I currently use `imv` but I am open to add more, as long as they work also without Xwayland.
https://sr.ht/~exec64/imv/

Happy to receive feedback.

Cheers,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Split-QR-viewers-X11-Wayland.patch
Type: text/x-diff
Size: 1096 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20250622/16b283ec/attachment.bin>


More information about the Password-Store mailing list