This commit is contained in:
vinceliuice 2024-10-15 19:03:33 +08:00
parent b453da1bec
commit 5d09b0610b
11 changed files with 6 additions and 22 deletions

View File

@ -15,7 +15,7 @@ N_VARIANTS=('' '-nord')
install() {
remove_themes; customize_theme; avoid_variant_duplicates
install_themes; echo; prompt -s "Install Gnome${RELEASE_VERSION} version finished!"; echo
local colorscheme="-nord"
local schemes=("${SCHEME_VARIANTS[1]}")
install_themes; echo; prompt -s "Install Gnome${RELEASE_VERSION} nord version finished!"; echo
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -500,6 +500,8 @@ check_param() {
colors=() ;;
-t)
themes=() ;;
-s)
schemes=() ;;
esac
fi

View File

@ -500,15 +500,7 @@ install_theemy() {
}
remove_packy() {
rm -rf "${dest}/${name}$(destify ${1})$(destify ${2})$(destify ${3})$(destify ${4})$(destify ${5})"
rm -rf "${dest}/${name}$(destify ${1})$(destify ${2})$(destify ${5})-hdpi"
rm -rf "${dest}/${name}$(destify ${1})$(destify ${2})$(destify ${5})-xhdpi"
}
remove_old_packy() {
rm -rf "${dest}/${name}${1}$(destify ${2})$(destify ${3})$(destify ${4})${5}"
rm -rf "${dest}/${name}${1}${5}-hdpi"
rm -rf "${dest}/${name}${1}${5}-xhdpi"
rm -rf "${dest}/${name}$(destify ${1})$(destify ${2})$(destify ${3})$(destify ${4})$(destify ${5})"{'','-hdpi','-xhdpi'}
}
###############################################################################
@ -545,6 +537,8 @@ install_libadwaita() {
color="${colors[0]}"
opacity="${opacities[0]}"
echo -e "${color} ${opacity} ${alt} ${theme} ${scheme}"
gtk_base && config_gtk4 "${color}" "${opacity}" "${alt}" "${theme}" "${scheme}"
}
@ -606,18 +600,6 @@ remove_themes() {
done
done
# for color in '-light' '-dark'; do
# for opacity in "${OPACITY_VARIANTS[@]}"; do
# for alt in "${ALT_VARIANTS[@]}"; do
# for theme in "${THEME_VARIANTS[@]}"; do
# for scheme in '' '-nord'; do
# remove_old_packy "${color}" "${opacity}" "${alt}" "${theme}" "${scheme}"
# done
# done
# done
# done
# done
wait ${process_ids[*]} &> /dev/null
}