Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-04-07 09:23:21 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-07 09:23:21 -0400
commit9756d9ed2daea533930e24a799ff9bf55891c203 (patch)
treef89dc422d5310ec35b10b52f0d46f2bd7dcf5b76
parentf85fb66bc61ee9b90537da59be00b37f49e5ffb8 (diff)
Add i3 selections to desktop file
-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