index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel Girtler <girtler.daniel@gmail.com> | 2024-03-08 00:43:51 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 14:43:51 +0100 |
commit | 08a6d402c4792cae95aec196460dc67aadd86f3c (patch) | |
tree | a646e7f2366387750208bbd25d4e06b0f191d9d3 /archinstall/lib/interactions/system_conf.py | |
parent | f927fb6e6a17123c05c6595bbdb45ed771596ab9 (diff) |
-rw-r--r-- | archinstall/lib/interactions/system_conf.py | 7 |
diff --git a/archinstall/lib/interactions/system_conf.py b/archinstall/lib/interactions/system_conf.py index aa72748e..35ba5a8b 100644 --- a/archinstall/lib/interactions/system_conf.py +++ b/archinstall/lib/interactions/system_conf.py @@ -103,14 +103,15 @@ def select_driver(options: List[GfxDriver] = [], current_value: Optional[GfxDriv if SysInfo.has_nvidia_graphics(): title += str(_('For the best compatibility with your Nvidia hardware, you may want to use the Nvidia proprietary driver.\n')) - title += str(_('\nSelect a graphics driver or leave blank to install all open-source drivers')) - preset = current_value.value if current_value else None + choice = Menu( title, drivers, preset_values=preset, - default_option=GfxDriver.AllOpenSource.value + default_option=GfxDriver.AllOpenSource.value, + preview_command=lambda x: GfxDriver(x).packages_text(), + preview_size=0.3 ).run() if choice.type_ != MenuSelectionType.Selection: |