diff --git a/install.sh b/install.sh index 52b2106..ffe2e4a 100755 --- a/install.sh +++ b/install.sh @@ -135,7 +135,7 @@ else echo; install_themes; echo; prompt -s "Done!" - rm -rf "${THEME_SRC_DIR}/sass/_gtk-base-temp.scss" + # rm -rf "${THEME_SRC_DIR}/sass/_gtk-base-temp.scss" if is_my_distro "arch" && has_command xfce4-session; then msg="XFCE: you may need to logout after changing your theme to fix your panel opacity." diff --git a/lib-install.sh b/lib-install.sh index 8672d8f..547a1c6 100755 --- a/lib-install.sh +++ b/lib-install.sh @@ -499,6 +499,7 @@ remove_firefox_theme() { ############################################################################### install_dash_to_dock_theme() { + cp -rf "${THEME_SRC_DIR}/sass/_gtk-base"{".scss","-temp.scss"} if [[ -d "${DASH_TO_DOCK_DIR_HOME}" ]]; then backup_file "${DASH_TO_DOCK_DIR_HOME}/stylesheet.css" "userify" userify sassc ${SASSC_OPT} "${DASH_TO_DOCK_SRC_DIR}/stylesheet$(destify ${colors[0]}).scss" "${DASH_TO_DOCK_DIR_HOME}/stylesheet.css" diff --git a/tweaks.sh b/tweaks.sh index f659259..4ccc89a 100755 --- a/tweaks.sh +++ b/tweaks.sh @@ -100,8 +100,12 @@ while [[ $# -gt 0 ]]; do has_any_error="true" fi; shift ;; -d|--dash-to-dock) - dash_to_dock="true" - + if [[ "${GNOME_VERSION}" == 'new' ]]; then + prompt -e "'${1}' ERROR: There's no need to install on >= Gnome 40.0!" + has_any_error="true" + else + dash_to_dock="true" + fi if [[ ! -d "${DASH_TO_DOCK_DIR_HOME}" && ! -d "${DASH_TO_DOCK_DIR_ROOT}" ]]; then prompt -e "'${1}' ERROR: There's no Dash to Dock installed in your system" has_any_error="true"