Let users know where the image is running from, e.g. usb or internal disk.

This commit is contained in:
Storm Dragon
2025-08-28 01:11:34 -04:00
parent dda52cbc6c
commit 66fee1dff2

View File

@@ -25,6 +25,9 @@ class VoicedMenu:
self.currentSection = 0 # Index of current section
self.currentItemIndices = {} # Current item index for each section
self.stdscr = None
# Check if system is installed or running from USB
self.is_installed = os.path.exists("/home/stormux/.baremetal")
# System services dictionary - maps friendly names to service names
self.systemMenuServices = {
@@ -819,7 +822,8 @@ class VoicedMenu:
self.draw_menu()
# Welcome message - don't interrupt this initial speech
self.speak(f"Welcome to {self.title}. Use left and right arrows to navigate sections. Up and down for items. Press H for help.")
boot_source = "internal disk" if self.is_installed else "USB drive"
self.speak(f"Welcome to {self.title}, booted from {boot_source}. Use left and right arrows to navigate sections. Up and down for items. Press H for help.")
# Wait for initial speech to finish before announcing section
time.sleep(1)