| 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
Revision a4cb9d1326b720d3bc5e0281bf3c132d76a0a2b2