This commit is contained in:
Vince 2021-11-04 09:55:52 +08:00
parent ce402c0b1b
commit 1588c1140b
2 changed files with 8 additions and 4 deletions

View file

@ -124,10 +124,14 @@ finalize_argument_parsing
#---------------------------START INSTALL THEMES-------------------------------# #---------------------------START INSTALL THEMES-------------------------------#
if [[ "${uninstall}" == 'true' ]]; then if [[ "${uninstall}" == 'true' ]]; then
prompt -i "Removing '${name}' themes in '${dest}'..." prompt -i "Removing '${name}' gtk themes in '${dest}'... \n"
prompt -w "REMOVAL: Non file-related parameters will be ignored."; echo prompt -w "REMOVAL: Non file-related parameters will be ignored. \n"
remove_themes remove_themes
prompt -s "Done! All '${name}' themes has been removed." prompt -s "Done! All '${name}' gtk themes in has been removed. \n"
if [[ -f "${MISC_GR_FILE}.bak" ]]; then
prompt -e "Find installed GDM theme, you need to run: 'sudo ./tweaks.sh -g -r' to remove it!"
fi
else else
if [[ "${interactive}" == 'true' ]]; then if [[ "${interactive}" == 'true' ]]; then
show_panel_opacity_dialog; show_sidebar_size_dialog; show_nautilus_style_dialog show_panel_opacity_dialog; show_sidebar_size_dialog; show_nautilus_style_dialog

View file

@ -179,7 +179,7 @@ finalize_argument_parsing
#---------------------------START INSTALL THEMES-------------------------------# #---------------------------START INSTALL THEMES-------------------------------#
if [[ "${uninstall}" == 'true' ]]; then if [[ "${uninstall}" == 'true' ]]; then
prompt -w "REMOVAL: Non file-related parameters will be ignored." prompt -w "REMOVAL: Non file-related parameters will be ignored. \n"
if [[ "${snap}" == 'true' ]]; then if [[ "${snap}" == 'true' ]]; then
prompt -i "Disconnecting '${name}' theme from your installed snap apps... \n" prompt -i "Disconnecting '${name}' theme from your installed snap apps... \n"