archinstall/archinstall
Softer 210329ed80
Add console font selection to Locales menu (#4469)
* Add console font selection to Locales menu

Add a 4th menu item "Console font" to the Locales configuration,
allowing users to select a console font for the target system.
The selected font is written to /etc/vconsole.conf.

If a terminus font (ter-*) is selected, the terminus-font package
is automatically installed on the target system.

* Switch list_console_fonts to pathlib and add @lru_cache

Address svartkanin's review on #4469. Replace os.listdir +
chained removesuffix with Path.glob('*.gz') + split('.')[0],
and cache the result via lru_cache - the kbd consolefonts
directory is static at runtime so re-scanning on every menu
reopen was wasted I/O.
2026-04-27 09:30:20 +10:00
..
applications Enable power management services after package installation (#4440) 2026-04-18 12:04:14 +10:00
default_profiles Change Budgie display server and update packages (#4450) 2026-04-22 10:23:09 +10:00
lib Add console font selection to Locales menu (#4469) 2026-04-27 09:30:20 +10:00
locales Add console font selection to Locales menu (#4469) 2026-04-27 09:30:20 +10:00
scripts Fix Limine install with ESP mounted outside /boot (#4442) 2026-04-22 21:32:41 +10:00
tui Set console font automatically when selecting language (#4356) 2026-04-21 18:36:29 +10:00
__init__.py Convert imports to absolute imports (#4196) 2026-02-26 20:17:48 +11:00
__main__.py Replace sys.exit calls with return values (#4156) 2026-01-22 13:58:40 +11:00
examples Adding symlink to examples. 2020-07-08 12:34:22 +00:00
main.py Set console font automatically when selecting language (#4356) 2026-04-21 18:36:29 +10:00