Added internet and screen reader options.
This commit is contained in:
parent
63e857c4b0
commit
ac39dfe76f
20
.includes/screenreader.sh
Normal file
20
.includes/screenreader.sh
Normal file
@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ "$(systemctl is-active fenrirscreenreader.service)" == "Active" ]]; then
|
||||
screenreader="speakup"
|
||||
else
|
||||
screenreader="fenrir"
|
||||
fi
|
||||
|
||||
continue="$(yesno "Do you want to switch the active console screen reader to ${screenreader^}?")"
|
||||
if [[ "$continue" == "Yes" ]]; then
|
||||
if [[ "$screenreader" == "speakup" ]]; then
|
||||
install_package espeakup
|
||||
sudo systemctl disable --now fenrirscreenreader.service
|
||||
sudo systemctl enable --now espeakup.service
|
||||
fi
|
||||
if [[ "$screenreader" == "fenrir" ]]; then
|
||||
sudo systemctl disable --now espeakup.service
|
||||
sudo systemctl enable --now fenrirscreenreader.service
|
||||
fi
|
||||
fi
|
@ -47,6 +47,9 @@ while [[ "$choice" != "Exit" ]]; do
|
||||
"Install Ratpoison Windowmanager")
|
||||
source .includes/gui.sh ratpoison
|
||||
;;
|
||||
"Screen reader")
|
||||
source .includes/screenreader.sh
|
||||
;;
|
||||
"Set up gaming")
|
||||
source .includes/gaming.sh
|
||||
;;
|
||||
@ -56,6 +59,7 @@ while [[ "$choice" != "Exit" ]]; do
|
||||
"Configure internet" \
|
||||
"Install Mate Desktop" \
|
||||
"Install Ratpoison Windowmanager" \
|
||||
"Screen reader" \
|
||||
"Set up gaming" \
|
||||
"Exit" \
|
||||
)"
|
||||
|
Loading…
Reference in New Issue
Block a user