Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/desktop.py
diff options
context:
space:
mode:
authorDaniel <blackrabbit256@gmail.com>2021-12-03 07:17:51 +1100
committerGitHub <noreply@github.com>2021-12-02 21:17:51 +0100
commit908c7b8cc0a804e9522d93fcf0dc71034c53ccdb (patch)
tree6ca53ef0354481512920997a5e48e51b36d591f6 /profiles/desktop.py
parent22ee2d90a1d2fb6af2ab5e80235e31f9da7a0550 (diff)
Add simple menu for better UX (#660)
* Add simple menu for better UX * Add remove external dependency * Fix harddisk return value on skip * Table output for partitioning process * Switch partitioning to simple menu * fixup! Switch partitioning to simple menu * Ignoring complexity and binary operator issues Only in simple_menu.py * Added license text to the MIT licensed file * Added in versioning information * Fixed some imports and removed the last generic_select() from user_interaction. Also fixed a revert/merged fork of ask_for_main_filesystem_format() * Update color scheme to match Arch style better * Use cyan as default cursor color * Leave simple menu the same Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com> Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
Diffstat (limited to 'profiles/desktop.py')
-rw-r--r--profiles/desktop.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/profiles/desktop.py b/profiles/desktop.py
index b9174ac5..389544df 100644
--- a/profiles/desktop.py
+++ b/profiles/desktop.py
@@ -1,5 +1,4 @@
# A desktop environment selector.
-
import archinstall
is_top_level_profile = True
@@ -44,8 +43,7 @@ def _prep_function(*args, **kwargs):
other code in this stage. So it's a safe way to ask the user
for more input before any other installer steps start.
"""
-
- desktop = archinstall.generic_select(__supported__, 'Select your desired desktop environment: ', allow_empty_input=False, sort=True)
+ desktop = archinstall.Menu('Select your desired desktop environment', __supported__, skip=False).run()
# Temporarily store the selected desktop profile
# in a session-safe location, since this module will get reloaded