pythontotp-dmenu/README.md

27 lines
691 B
Markdown
Raw Permalink Normal View History

2020-08-24 16:54:18 +02:00
# pythonTOTP-dmenu
Python script that copies in the clipboard the selected one-time password code
# Dependencies:
* suckless's dmenu
* [python dmenu](https://pypi.org/project/dmenu/)
* [pythonTOTP](https://pypi.org/project/pyotp/)
* [clipboard](https://pypi.org/project/clipboard/)
# Usage:
Download the script, make it executable (`chmod +x /path/to/pythonTOTP-dmenu)
make a file named `keys` in the same directory (or change the code that references that file)
`keys` has this structure:
`Name of the site`
2020-08-24 16:57:27 +02:00
2020-08-24 16:54:18 +02:00
`TOTP KEY GIVEN BY THE WEBSITE`
2020-08-24 16:57:27 +02:00
2020-08-24 16:54:18 +02:00
`Name of another site`
2020-08-24 16:57:27 +02:00
2020-08-24 16:54:18 +02:00
`TOTP KEY OF THE SECOND WEBSITE`
2020-08-24 16:57:27 +02:00
2020-08-24 16:54:18 +02:00
`...`
2020-08-24 16:57:27 +02:00
The rows with the name is what you'll see in dmenu when you launch this script