Added settings and implemented restoring of window size.

This commit is contained in:
The Wobbler 2024-12-23 17:12:21 +01:00
parent 99934e73b7
commit 6aae95c865
6 changed files with 36 additions and 1 deletions

11
wobuzz/settings.py Normal file
View 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"