| @@ -0,0 +1,6 @@ | |||
| 1 | + | import subprocess | |
| 2 | + | import secrets | |
| 3 | + | import string | |
| 4 | + | alphabet = string.ascii_letters + string.digits | |
| 5 | + | ||
| 6 | + | subprocess.run(["wl-copy"], input=(''.join(secrets.choice(alphabet) for i in range(20))).encode("UTF-8")) | |
swee / clipboard_pass.py
Last active 4 months ago
swee revised this gist 4 months ago · a4cb9d1
1 file changed, 6 insertions