Fixed #608
This commit is contained in:
parent
6aa0d754d6
commit
b038d2d55a
1 changed files with 5 additions and 2 deletions
|
@ -136,7 +136,7 @@ if [[ "${uninstall}" == 'true' ]]; then
|
||||||
prompt -i "Removing '${name}' gtk themes in '${dest}'... \n"
|
prompt -i "Removing '${name}' gtk themes in '${dest}'... \n"
|
||||||
prompt -w "REMOVAL: Non file-related parameters will be ignored. \n"
|
prompt -w "REMOVAL: Non file-related parameters will be ignored. \n"
|
||||||
remove_themes
|
remove_themes
|
||||||
prompt -s "Done! All '${name}' gtk themes in has been removed. \n"
|
prompt -s "Done! All '${name}' gtk themes in has been removed."
|
||||||
|
|
||||||
if [[ -f "${MISC_GR_FILE}.bak" ]]; then
|
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!"
|
prompt -e "Find installed GDM theme, you need to run: 'sudo ./tweaks.sh -g -r' to remove it!"
|
||||||
|
@ -186,7 +186,10 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo; prompt -w "${final_msg}"
|
echo; prompt -w "${final_msg}"
|
||||||
[[ -x /usr/bin/notify-send ]] && notify-send "'${name}' theme has been installed. Enjoy!" "${notif_msg}" -i "dialog-information-symbolic"
|
|
||||||
|
if [[ -x /usr/bin/notify-send && "$UID" != '0' ]]; then
|
||||||
|
notify-send "'${name}' theme has been installed. Enjoy!" "${notif_msg}" -i "dialog-information-symbolic"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue