Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/default_profiles/desktops/awesome.py
diff options
context:
space:
mode:
authorHimadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com>2023-07-31 07:40:45 +0000
committerGitHub <noreply@github.com>2023-07-31 09:40:45 +0200
commitf8d269092033f49b9f9621580fa1862e0c3b6cdb (patch)
tree7d31fdc8650d49b6d90ca76cec0eaad6723b417d /archinstall/default_profiles/desktops/awesome.py
parentd878496a2fb9e3c7f48261f866cb285dfa987298 (diff)
move preview text method for profiles into xorg superclass, override when needed (#1918)
Co-authored-by: Anton Hvornum <anton@hvornum.se>
Diffstat (limited to 'archinstall/default_profiles/desktops/awesome.py')
-rw-r--r--archinstall/default_profiles/desktops/awesome.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/archinstall/default_profiles/desktops/awesome.py b/archinstall/default_profiles/desktops/awesome.py
index 79e0eb71..3833ce71 100644
--- a/archinstall/default_profiles/desktops/awesome.py
+++ b/archinstall/default_profiles/desktops/awesome.py
@@ -1,4 +1,4 @@
-from typing import List, Optional, Any, TYPE_CHECKING
+from typing import List, Any, TYPE_CHECKING
from archinstall.default_profiles.profile import ProfileType
from archinstall.default_profiles.xorg import XorgProfile
@@ -28,10 +28,6 @@ class AwesomeProfile(XorgProfile):
'xsel',
]
- def preview_text(self) -> Optional[str]:
- text = str(_('Environment type: {}')).format(self.profile_type.value)
- return text + '\n' + self.packages_text()
-
def install(self, install_session: 'Installer'):
super().install(install_session)