This commit is contained in:
vinceliuice
2025-08-22 09:00:24 +08:00
parent c78a421cb5
commit 343d724218
2 changed files with 10 additions and 5 deletions

View File

@@ -86,7 +86,8 @@ ETC_CSS_FILE="/etc/alternatives/gdm3.css"
ETC_GR_FILE="/etc/alternatives/gdm3-theme.gresource"
YARU_GR_FILE="/usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource"
POP_OS_GR_FILE="/usr/share/gnome-shell/theme/Pop/gnome-shell-theme.gresource"
ZORIN_GR_FILE="/usr/share/gnome-shell/theme/ZorinBlue-Light/gnome-shell-theme.gresource"
ZORIN_GR_LIGHT_FILE="/usr/share/gnome-shell/theme/ZorinBlue-Light/gnome-shell-theme.gresource"
ZORIN_GR_DARK_FILE="/usr/share/gnome-shell/theme/ZorinBlue-Dark/gnome-shell-theme.gresource"
MISC_GR_FILE="/usr/share/gnome-shell/gnome-shell-theme.gresource"
GS_GR_XML_FILE="${THEME_SRC_DIR}/main/gnome-shell/gnome-shell-theme.gresource.xml"
GDM_GR_XML_FILE="${REPO_DIR}/other/gdm/gnome-shell-theme.gresource.xml"

View File

@@ -677,8 +677,10 @@ install_gdm_theme() {
TARGET="${POP_OS_GR_FILE}"
elif check_theme_file "$YARU_GR_FILE"; then
TARGET="${YARU_GR_FILE}"
elif check_theme_file "$ZORIN_GR_FILE"; then
TARGET="${ZORIN_GR_FILE}"
elif check_theme_file "$ZORIN_GR_DARK_FILE"; then
TARGET="${ZORIN_GR_DARK_FILE}"
elif check_theme_file "$ZORIN_GR_LIGHT_FILE"; then
TARGET="${ZORIN_GR_LIGHT_FILE}"
elif check_theme_file "$MISC_GR_FILE"; then
TARGET="${MISC_GR_FILE}"
fi
@@ -705,8 +707,10 @@ install_only_gdm_theme() {
TARGET="${POP_OS_GR_FILE}"
elif check_theme_file "$YARU_GR_FILE"; then
TARGET="${YARU_GR_FILE}"
elif check_theme_file "$ZORIN_GR_FILE"; then
TARGET="${ZORIN_GR_FILE}"
elif check_theme_file "$ZORIN_GR_DARK_FILE"; then
TARGET="${ZORIN_GR_DARK_FILE}"
elif check_theme_file "$ZORIN_GR_LIGHT_FILE"; then
TARGET="${ZORIN_GR_LIGHT_FILE}"
elif check_theme_file "$MISC_GR_FILE"; then
TARGET="${MISC_GR_FILE}"
else