From bbedc0bb19a75b937b49001e8845c6b73bccb25b Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 22 Apr 2022 21:24:43 +1000 Subject: Flexible order of menu options (#1078) * Allow custom ordering of the menu entries * Update Co-authored-by: Daniel Girtler --- examples/guided.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'examples') 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() -- cgit v1.2.3-70-g09d2