Added settings and implemented restoring of window size.
This commit is contained in:
parent
99934e73b7
commit
6aae95c865
6 changed files with 36 additions and 1 deletions
11
wobuzz/settings.py
Normal file
11
wobuzz/settings.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@dataclass
|
||||
class Settings:
|
||||
window_size: tuple[int, int]=None
|
||||
window_maximized: bool=False
|
||||
library_path: str="~/.wobuzz"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue