parent
f6776f3801
commit
b1ead53846
|
|
@ -0,0 +1,21 @@
|
|||
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 CosmicProfile(XorgProfile):
|
||||
def __init__(self):
|
||||
super().__init__('cosmic-epoch', ProfileType.DesktopEnv, description='')
|
||||
|
||||
@property
|
||||
def packages(self) -> List[str]:
|
||||
return [
|
||||
"cosmic",
|
||||
]
|
||||
|
||||
@property
|
||||
def default_greeter_type(self) -> Optional[GreeterType]:
|
||||
return GreeterType.CosmicSession
|
||||
|
|
@ -33,7 +33,7 @@ class GreeterType(Enum):
|
|||
Sddm = 'sddm'
|
||||
Gdm = 'gdm'
|
||||
Ly = 'ly'
|
||||
|
||||
CosmicSession = "cosmic-greeter"
|
||||
|
||||
class SelectResult(Enum):
|
||||
NewSelection = auto()
|
||||
|
|
|
|||
Loading…
Reference in New Issue