Add description, fix window size

This commit is contained in:
anqude 2022-11-22 23:35:43 +04:00 committed by GitHub
parent 2f6e69c635
commit 9f60e69139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 2 deletions

View File

@ -1,2 +1,30 @@
# passgener
Feature rich generator
## Feature rich generator
### Dependencies
**Python**
```sh
pip install tk pyperclip qrcode
```
**On debian**
```sh
sudo apt install python3-tk python3-pil.imagetk
```
**On fedora**
```sh
sudo dnf install python3-tkinter python3-pillow-tk
```
<img src="https://i.imgur.com/KUsAunA.png" alt="img" align="right" width="150px">
<img src="https://i.imgur.com/LQg6okt.png alt="img" align="right" width="200px">
### Features
- using cusom passassword
- copy passwoed to clipboard
- share password via QR code

View File

@ -7,6 +7,7 @@ os.chdir(scriptdir.removesuffix('/front.py'))
window = Tk()
window.geometry("350x280")
window.resizable(width=False, height=False)
window.configure(background="#ccc")
ttk.Style().configure("TCheckbutton", padding=6, relief="flat",
background="#ccc")
@ -98,4 +99,4 @@ plus.place(x=252, y=140)
Copy.place(x=12, y=190)
genqr.place(x=12, y=230)
window.mainloop()
window.mainloop()

View File

@ -3,6 +3,7 @@ from PIL import ImageTk, Image
import os
window = Tk()
window.resizable(width=False, height=False)
window.title("qr view")
scriptdir=os.path.abspath(__file__)