refactor
This commit is contained in:
parent
385773f23c
commit
b492b8e923
2 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,6 @@ source "${REPO_DIR}/lib-install.sh"
|
||||||
# Customization, default values
|
# Customization, default values
|
||||||
colors=("${COLOR_VARIANTS[@]}")
|
colors=("${COLOR_VARIANTS[@]}")
|
||||||
opacities=("${OPACITY_VARIANTS[@]}")
|
opacities=("${OPACITY_VARIANTS[@]}")
|
||||||
background="blank"
|
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
# Please specify their default value manually, some of them are come from _variables.scss
|
# Please specify their default value manually, some of them are come from _variables.scss
|
||||||
|
|
|
@ -150,7 +150,7 @@ install_beggy() {
|
||||||
blank)
|
blank)
|
||||||
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blank.png" "${WHITESUR_TMP_DIR}/beggy.png" ;;
|
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blank.png" "${WHITESUR_TMP_DIR}/beggy.png" ;;
|
||||||
default)
|
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"
|
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
|
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"
|
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blur-darken.png" "${WHITESUR_TMP_DIR}/beggy.png"
|
||||||
|
|
Loading…
Reference in a new issue