diff options
author | Leonard Janis Robert König <ljrk@ljrk.org> | 2022-01-19 11:57:30 +0100 |
---|---|---|
committer | Tad Fisher <129148+tadfisher@users.noreply.github.com> | 2022-02-12 19:21:05 -0800 |
commit | a364d2a71ad24158a009c266102ce0d91149de67 (patch) | |
tree | e221f1ddc8f605c79aa930b9c4c664e1b9cebbec | |
parent | 3ba564ca9f2c5d894a9ef7ef6b827d95e21d2104 (diff) |
README.md: Add example use of wl-clipboard to get QR from clip
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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: ``` |