Let users know where the image is running from, e.g. usb or internal disk.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user