aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Janis Robert König <ljrk@ljrk.org>2022-01-19 11:57:30 +0100
committerTad Fisher <129148+tadfisher@users.noreply.github.com>2022-02-12 19:21:05 -0800
commita364d2a71ad24158a009c266102ce0d91149de67 (patch)
treee221f1ddc8f605c79aa930b9c4c664e1b9cebbec
parent3ba564ca9f2c5d894a9ef7ef6b827d95e21d2104 (diff)
README.md: Add example use of wl-clipboard to get QR from clip
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
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:
```