Add i3 selections to desktop file

This commit is contained in:
Dylan Taylor 2021-04-07 09:23:21 -04:00
parent f85fb66bc6
commit 9756d9ed2d
2 changed files with 2 additions and 3 deletions

View File

@ -196,9 +196,8 @@ class Profile(Script):
def is_top_level_profile(self): def is_top_level_profile(self):
with open(self.path, 'r') as source: with open(self.path, 'r') as source:
source_data = source.read()
# TODO: I imagine that there is probably a better way to write this. # 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 return 'top_level_profile = True' in source_data
@property @property

View File

@ -12,7 +12,7 @@ def _prep_function(*args, **kwargs):
for more input before any other installer steps start. 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: ') desktop = archinstall.generic_select(supported_desktops, 'Select your desired desktop environment: ')
# Temporarily store the selected desktop profile # Temporarily store the selected desktop profile