This commit is contained in:
vinceliuice
2021-04-20 11:11:33 +08:00
parent 366af537f0
commit 7f2ae635d1
8 changed files with 25 additions and 13 deletions

View File

@@ -499,10 +499,10 @@ customize_theme() {
cp -rf "${THEME_SRC_DIR}/sass/_theme-options"{".scss","-temp.scss"}
# Change common apps style for a specific GNOME Shell version
if [[ ${GNOME_VERSION} == "new" ]]; then
sed ${SED_OPT} "/\$gnome_version/s/old/new/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
elif [[ ${GNOME_VERSION} == "none" ]]; then
prompt -w "There's no GNOME Shell installed, using style for the older GNOME Shell instead..."
if [[ ${NAUTILUS_VERSION} == "new" ]]; then
sed ${SED_OPT} "/\$nautilus_version/s/old/new/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
elif [[ ${NAUTILUS_VERSION} == "none" ]]; then
prompt -w "There's no Nautilus installed, using style for the older gtk theme instead..."
fi
# Change gnome-shell panel transparency