mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-06 15:33:02 +00:00
update #1148
This commit is contained in:
parent
b453da1bec
commit
5d09b0610b
@ -15,7 +15,7 @@ N_VARIANTS=('' '-nord')
|
|||||||
install() {
|
install() {
|
||||||
remove_themes; customize_theme; avoid_variant_duplicates
|
remove_themes; customize_theme; avoid_variant_duplicates
|
||||||
install_themes; echo; prompt -s "Install Gnome${RELEASE_VERSION} version finished!"; echo
|
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
|
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.
Binary file not shown.
Binary file not shown.
@ -500,6 +500,8 @@ check_param() {
|
|||||||
colors=() ;;
|
colors=() ;;
|
||||||
-t)
|
-t)
|
||||||
themes=() ;;
|
themes=() ;;
|
||||||
|
-s)
|
||||||
|
schemes=() ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -500,15 +500,7 @@ install_theemy() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
remove_packy() {
|
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 ${3})$(destify ${4})$(destify ${5})"{'','-hdpi','-xhdpi'}
|
||||||
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"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@ -545,6 +537,8 @@ install_libadwaita() {
|
|||||||
color="${colors[0]}"
|
color="${colors[0]}"
|
||||||
opacity="${opacities[0]}"
|
opacity="${opacities[0]}"
|
||||||
|
|
||||||
|
echo -e "${color} ${opacity} ${alt} ${theme} ${scheme}"
|
||||||
|
|
||||||
gtk_base && config_gtk4 "${color}" "${opacity}" "${alt}" "${theme}" "${scheme}"
|
gtk_base && config_gtk4 "${color}" "${opacity}" "${alt}" "${theme}" "${scheme}"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -606,18 +600,6 @@ remove_themes() {
|
|||||||
done
|
done
|
||||||
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
|
wait ${process_ids[*]} &> /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user