Skip to content

Commit

Permalink
README.md: Add example use of wl-clipboard to get QR from clip
Browse files Browse the repository at this point in the history
  • Loading branch information
ljrk0 authored and tadfisher committed Feb 13, 2022
1 parent 3ba564c commit a364d2a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ The same, but appending to an existing passfile:
$ zbarimg -q --raw google-qrcode.png | pass otp append google/[email protected]
```

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/[email protected]
```

Generate a 2FA code using this token:

```
Expand Down

0 comments on commit a364d2a

Please sign in to comment.