index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com> | 2023-07-31 07:40:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-31 09:40:45 +0200 |
commit | f8d269092033f49b9f9621580fa1862e0c3b6cdb (patch) | |
tree | 7d31fdc8650d49b6d90ca76cec0eaad6723b417d /archinstall/default_profiles/xorg.py | |
parent | d878496a2fb9e3c7f48261f866cb285dfa987298 (diff) |
-rw-r--r-- | archinstall/default_profiles/xorg.py | 6 |
diff --git a/archinstall/default_profiles/xorg.py b/archinstall/default_profiles/xorg.py index 13154818..c9abf4da 100644 --- a/archinstall/default_profiles/xorg.py +++ b/archinstall/default_profiles/xorg.py @@ -1,4 +1,4 @@ -from typing import Any, TYPE_CHECKING, List +from typing import Any, Optional, TYPE_CHECKING, List from archinstall.default_profiles.profile import Profile, ProfileType @@ -20,6 +20,10 @@ class XorgProfile(Profile): support_gfx_driver=True ) + def preview_text(self) -> Optional[str]: + text = str(_('Environment type: {}')).format(self.profile_type.value) + return text + '\n' + self.packages_text() + @property def packages(self) -> List[str]: return [ |