Also set default for setting "load_on_start" to False because with this change, it feels a lot cleaner this way and uses less RAM.
14 lines
282 B
Python
14 lines
282 B
Python
#!/usr/bin/python3
|
|
|
|
from dataclasses import dataclass
|
|
|
|
|
|
@dataclass
|
|
class Settings:
|
|
window_size: tuple[int, int]=None
|
|
window_maximized: bool=False
|
|
library_path: str="~/.wobuzz"
|
|
clear_track_cache: bool=True
|
|
latest_playlist: str=None
|
|
load_on_start: bool=False
|
|
|