mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2026-05-09 17:35:20 +00:00
update #1148
This commit is contained in:
@@ -500,6 +500,8 @@ check_param() {
|
||||
colors=() ;;
|
||||
-t)
|
||||
themes=() ;;
|
||||
-s)
|
||||
schemes=() ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user