added cosmic for a desktop (#2615)

* cosmic is out of the aur
This commit is contained in:
killertofus 2024-08-17 14:40:07 +00:00 committed by GitHub
parent f6776f3801
commit b1ead53846
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 1 deletions

View File

@ -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

View File

@ -33,7 +33,7 @@ class GreeterType(Enum):
Sddm = 'sddm'
Gdm = 'gdm'
Ly = 'ly'
CosmicSession = "cosmic-greeter"
class SelectResult(Enum):
NewSelection = auto()