Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archinstall/lib/profiles.py3
-rw-r--r--profiles/desktop.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index 1948a819..5f69c8c6 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -196,9 +196,8 @@ class Profile(Script):
def is_top_level_profile(self):
with open(self.path, 'r') as source:
- source_data = source.read()
-
# TODO: I imagine that there is probably a better way to write this.
+ source_data = source.read()
return 'top_level_profile = True' in source_data
@property
diff --git a/profiles/desktop.py b/profiles/desktop.py
index 9f9e7cc2..389198d6 100644
--- a/profiles/desktop.py
+++ b/profiles/desktop.py
@@ -12,7 +12,7 @@ def _prep_function(*args, **kwargs):
for more input before any other installer steps start.
"""
- supported_desktops = ['gnome', 'kde', 'awesome', 'xfce4', 'cinnamon']
+ supported_desktops = ['gnome', 'kde', 'awesome', 'xfce4', 'cinnamon', 'i3-gaps', 'i3-wm']
desktop = archinstall.generic_select(supported_desktops, 'Select your desired desktop environment: ')
# Temporarily store the selected desktop profile