From 343d7242180ca68a94257f643186f00b2cccae6e Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Fri, 22 Aug 2025 09:00:24 +0800 Subject: [PATCH] update --- libs/lib-core.sh | 3 ++- libs/lib-install.sh | 12 ++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/libs/lib-core.sh b/libs/lib-core.sh index f7bf81f4..3b297e2b 100755 --- a/libs/lib-core.sh +++ b/libs/lib-core.sh @@ -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" diff --git a/libs/lib-install.sh b/libs/lib-install.sh index 4f07a7fa..6704732c 100755 --- a/libs/lib-install.sh +++ b/libs/lib-install.sh @@ -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