Skip to content

Commit

Permalink
Adding Hyperland wm (#1785)
Browse files Browse the repository at this point in the history
  • Loading branch information
xeniumcode authored May 4, 2023
1 parent f211906 commit 1519908
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions archinstall/default_profiles/desktops/hyperland.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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 HyperlandProfile(XorgProfile):
def __init__(self):
super().__init__('Hyperland', ProfileType.DesktopEnv, description='')

@property
def packages(self) -> List[str]:
return [
"hyprland",
"dunst",
"xdg-desktop-portal-hyprland",
"kitty",
"qt5-wayland",
"qt6-wayland"
]

@property
def default_greeter_type(self) -> Optional[GreeterType]:
return GreeterType.Sddm

def preview_text(self) -> Optional[str]:
text = str(_('Environment type: {}')).format(self.profile_type.value)
return text + '\n' + self.packages_text()

0 comments on commit 1519908

Please sign in to comment.