feat(typing): More types, cleaner structure
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user