feat(typing): More types, cleaner structure

This commit is contained in:
2026-04-30 14:12:35 +02:00
parent 31426c006b
commit f9e6120910
8 changed files with 95 additions and 57 deletions
+22
View File
@@ -0,0 +1,22 @@
from typing import TypedDict
class ArchMgrUserConfig(TypedDict):
username: str
groups: list[str]
home_dir: bool
class ArchMgrBootConfig(TypedDict):
bootloader: str
esp_dir: str
theme_folder: str
os_prober: bool
class ArchMgrThemeConfig(TypedDict):
gtk: str
qt: str
font: str
icon_theme: str
cursor_theme: str