From b492b8e92357fc3c8ef17917edd9acb842e6a869 Mon Sep 17 00:00:00 2001 From: Muhammad Rivan Date: Sun, 23 May 2021 19:31:19 +0700 Subject: [PATCH] refactor --- install.sh | 1 - lib-install.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 0116f60..9a6deb3 100755 --- a/install.sh +++ b/install.sh @@ -18,7 +18,6 @@ source "${REPO_DIR}/lib-install.sh" # Customization, default values colors=("${COLOR_VARIANTS[@]}") opacities=("${OPACITY_VARIANTS[@]}") -background="blank" usage() { # Please specify their default value manually, some of them are come from _variables.scss diff --git a/lib-install.sh b/lib-install.sh index d0379ec..fcdcec3 100755 --- a/lib-install.sh +++ b/lib-install.sh @@ -150,7 +150,7 @@ install_beggy() { blank) cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blank.png" "${WHITESUR_TMP_DIR}/beggy.png" ;; default) - if [[ "${no_blur}" == "false" || "${darken}" == "false" ]]; then + if [[ "${no_blur}" == "false" && "${darken}" == "false" ]]; then cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blur.png" "${WHITESUR_TMP_DIR}/beggy.png" elif [[ "${no_blur}" == "false" && "${darken}" == "true" ]]; then cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blur-darken.png" "${WHITESUR_TMP_DIR}/beggy.png"