From bea47f6cc39814f63ef370c00d3b8070b06e3af7 Mon Sep 17 00:00:00 2001 From: Vince Date: Sat, 10 Apr 2021 15:55:22 +0800 Subject: [PATCH] update --- lib-install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib-install.sh b/lib-install.sh index ab20540..d5803e5 100755 --- a/lib-install.sh +++ b/lib-install.sh @@ -145,8 +145,12 @@ install_shelly() { cp -r "${THEME_SRC_DIR}/assets/gnome-shell/assets${color}/"*".svg" "${TARGET_DIR}/assets" cp -r "${THEME_SRC_DIR}/assets/gnome-shell/activities/activities${icon}.svg" "${TARGET_DIR}/assets/activities.svg" - cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-default.png" "${TARGET_DIR}/assets/background.png" - # cp -r "${WHITESUR_TMP_DIR}/beggy.png" "${TARGET_DIR}/assets/background.png" + + if [[ "${gdm}" == 'true' && "${no_blur}" == "false" ]]; then + cp -r "${WHITESUR_TMP_DIR}/beggy.png" "${TARGET_DIR}/assets/background.png" + else + cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-default.png" "${TARGET_DIR}/assets/background.png" + fi ( cd "${TARGET_DIR}"