More work on the speech selector.

This commit is contained in:
Storm Dragon committed 2026-09-15 23:21:13 -04:00
1 parent 0df6d7b0fc
commit 4134a16ecd
5 files changed
+77 -52

No files matched your search

+8 -1
View File
@@ -104,6 +104,13 @@ EndSection
EOF
}
restart_fenrir_speech() {
if systemctl is-active --quiet fenrirscreenreader.service; then
killall speech-dispatcher 2>/dev/null || true
systemctl restart fenrirscreenreader.service
fi
}
set_timezone() {
# Get the list of timezones
mapfile -t regions < <(timedatectl --no-pager list-timezones | cut -d '/' -f1 | sort -u)
@@ -136,8 +143,8 @@ set_timezone() {
if read_yes_no "Would you like to switch Fenrir to laptop layout?"; then
sed -i 's/=desktop/=laptop/' /etc/fenrirscreenreader/settings/settings.conf
clear
systemctl restart fenrirscreenreader.service
fi
restart_fenrir_speech
if command -v i3 > /dev/null 2>&1 && systemctl list-unit-files nodm.service > /dev/null 2>&1; then
if read_yes_no "Will this Pi be connected to a physical screen?"; then