archinstall/archinstall/default_profiles/desktops/deepin.py

25 lines
562 B
Python

from typing import List, Optional, Any, TYPE_CHECKING
from archinstall.default_profiles.profile import ProfileType, GreeterType
from archinstall.default_profiles.xorg import XorgProfile
if TYPE_CHECKING:
_: Any
class DeepinProfile(XorgProfile):
def __init__(self) -> None:
super().__init__('Deepin', ProfileType.DesktopEnv, description='')
@property
def packages(self) -> List[str]:
return [
"deepin",
"deepin-terminal",
"deepin-editor"
]
@property
def default_greeter_type(self) -> Optional[GreeterType]:
return GreeterType.Lightdm