move more promptws to the scripts

This commit is contained in:
Mario Fetka
2024-04-20 11:07:14 +02:00
parent 44192ec2a7
commit 2aadf552c4
26 changed files with 85 additions and 83 deletions

0
spellcheck/config-v1.sh Normal file
View File

0
spellcheck/install-v1.sh Normal file
View File

8
spellcheck/prompt-v1.sh Normal file
View File

@@ -0,0 +1,8 @@
SPELL=$(whiptail --title "Spellcheck Support in Mystic" --radiolist --cancel-button Exit-Script "Choose Yes No" 8 58 2 \
"Yes" "Add Spellcheck Support" ON \
"No" "Don't add Spellcheck Support" OFF \
3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Add Spellcheck Support: ${BGN}$SPELL${CL}"
fi