From a364d2a71ad24158a009c266102ce0d91149de67 Mon Sep 17 00:00:00 2001 From: Leonard Janis Robert König Date: Wed, 19 Jan 2022 11:57:30 +0100 Subject: README.md: Add example use of wl-clipboard to get QR from clip --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index e2046bc..bdd724b 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,14 @@ The same, but appending to an existing passfile: $ zbarimg -q --raw google-qrcode.png | pass otp append google/example@gmail.com ``` +If you have a clipboard management console tool such as `wl-clipboard` for +Wayland installed, you can also select "Copy Image" in your favorite browser +and run: + +``` +$ wl-paste | zbarimg -q --raw - | pass otp append google/example@gmail.com +``` + Generate a 2FA code using this token: ``` -- cgit v1.2.3