35 lines
679 B
Python
35 lines
679 B
Python
from typing import Optional, TypedDict
|
|
|
|
|
|
class ArchMgrUserConfig(TypedDict):
|
|
username: str
|
|
groups: Optional[list[str]]
|
|
home_dir: Optional[bool]
|
|
sudo_user: Optional[bool]
|
|
|
|
|
|
class ArchMgrBootConfig(TypedDict):
|
|
managed: bool
|
|
bootloader: Optional[str]
|
|
esp_dir: Optional[str]
|
|
theme_folder: Optional[str]
|
|
os_prober: Optional[bool]
|
|
|
|
|
|
class ArchMgrThemeConfig(TypedDict):
|
|
gtk: Optional[str]
|
|
qt: Optional[str]
|
|
font: Optional[str]
|
|
icon_theme: Optional[str]
|
|
cursor_theme: Optional[str]
|
|
|
|
|
|
class ArchMgrTemplateData(TypedDict):
|
|
name: str
|
|
data: str
|
|
|
|
|
|
class ArchMgrSymlinkConfig(TypedDict):
|
|
destination: str
|
|
location: str
|