fix: fix of previous commit and small refactor

This commit is contained in:
th33xitus
2021-09-12 20:46:11 +02:00
parent 68327262fc
commit 65bf3d5251
4 changed files with 23 additions and 26 deletions

View File

@@ -38,14 +38,14 @@ ms_theme_ui(){
echo -e "| | "
echo -e "| R) [Remove Theme] | "
#echo -e "| | "
quit_footer
back_footer
}
ms_theme_menu(){
ms_theme_ui
while true; do
read -p "${cyan}Install theme:${default} " a; echo
if [ $a = "q" ] || [ $a = "Q" ]; then
if [ $a = "b" ] || [ $a = "B" ]; then
clear && advanced_menu && break
elif [ $a = "r" ] || [ $a = "R" ]; then
ms_theme_delete