Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
authorDaniel <blackrabbit256@gmail.com>2022-04-22 21:24:43 +1000
committerGitHub <noreply@github.com>2022-04-22 13:24:43 +0200
commitbbedc0bb19a75b937b49001e8845c6b73bccb25b (patch)
treecbb7fef3be7e45362b11cb1c228a6a8b33c02e90 /examples/guided.py
parent477b5b120e120766d789a691fce60cec843aff43 (diff)
Flexible order of menu options (#1078)
* Allow custom ordering of the menu entries * Update Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 56e05ef9..8e6acc64 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -39,6 +39,9 @@ def ask_user_questions():
archinstall.SysCommand('timedatectl set-ntp true')
global_menu = archinstall.GlobalMenu(data_store=archinstall.arguments)
+
+ global_menu.enable('archinstall-language')
+
global_menu.enable('keyboard-layout')
# Set which region to download packages from during the installation
@@ -91,6 +94,12 @@ def ask_user_questions():
global_menu.enable('additional-repositories')
+ global_menu.enable('__separator__')
+
+ global_menu.enable('save_config')
+ global_menu.enable('install')
+ global_menu.enable('abort')
+
global_menu.run()