-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README.md: Add example use of wl-clipboard to get QR from clip
- Loading branch information
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
||
``` | ||
|