From 80ecab52100196d42cd003d5e3cdac7a00ae498a Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Sat, 1 Apr 2023 13:05:28 +0800 Subject: [PATCH] update --- shell/lib-install.sh | 10 +++++----- .../background-blank.png | Bin .../background-blur-darken.png | Bin .../background-blur.png | Bin .../background-darken.png | Bin .../background-default.png | Bin src/sass/gnome-shell/widgets-40-0/_overview.scss | 6 +++--- 7 files changed, 8 insertions(+), 8 deletions(-) rename src/assets/gnome-shell/{common-assets => backgrounds}/background-blank.png (100%) rename src/assets/gnome-shell/{common-assets => backgrounds}/background-blur-darken.png (100%) rename src/assets/gnome-shell/{common-assets => backgrounds}/background-blur.png (100%) rename src/assets/gnome-shell/{common-assets => backgrounds}/background-darken.png (100%) rename src/assets/gnome-shell/{common-assets => backgrounds}/background-default.png (100%) diff --git a/shell/lib-install.sh b/shell/lib-install.sh index f68a9e6..ff12ce9 100755 --- a/shell/lib-install.sh +++ b/shell/lib-install.sh @@ -324,16 +324,16 @@ install_beggy() { case "${background}" in 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/backgrounds/background-blank.png" "${WHITESUR_TMP_DIR}/beggy.png" ;; default) if [[ "${no_blur}" == "false" && "${no_darken}" == "true" ]]; 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/backgrounds/background-blur.png" "${WHITESUR_TMP_DIR}/beggy.png" elif [[ "${no_blur}" == "false" && "${no_darken}" == "false" ]]; 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/backgrounds/background-blur-darken.png" "${WHITESUR_TMP_DIR}/beggy.png" elif [[ "${no_blur}" == "true" && "${no_darken}" == "true" ]]; then - cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-default.png" "${WHITESUR_TMP_DIR}/beggy.png" + cp -r "${THEME_SRC_DIR}/assets/gnome-shell/backgrounds/background-default.png" "${WHITESUR_TMP_DIR}/beggy.png" else - cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-darken.png" "${WHITESUR_TMP_DIR}/beggy.png" + cp -r "${THEME_SRC_DIR}/assets/gnome-shell/backgrounds/background-darken.png" "${WHITESUR_TMP_DIR}/beggy.png" fi ;; *) diff --git a/src/assets/gnome-shell/common-assets/background-blank.png b/src/assets/gnome-shell/backgrounds/background-blank.png similarity index 100% rename from src/assets/gnome-shell/common-assets/background-blank.png rename to src/assets/gnome-shell/backgrounds/background-blank.png diff --git a/src/assets/gnome-shell/common-assets/background-blur-darken.png b/src/assets/gnome-shell/backgrounds/background-blur-darken.png similarity index 100% rename from src/assets/gnome-shell/common-assets/background-blur-darken.png rename to src/assets/gnome-shell/backgrounds/background-blur-darken.png diff --git a/src/assets/gnome-shell/common-assets/background-blur.png b/src/assets/gnome-shell/backgrounds/background-blur.png similarity index 100% rename from src/assets/gnome-shell/common-assets/background-blur.png rename to src/assets/gnome-shell/backgrounds/background-blur.png diff --git a/src/assets/gnome-shell/common-assets/background-darken.png b/src/assets/gnome-shell/backgrounds/background-darken.png similarity index 100% rename from src/assets/gnome-shell/common-assets/background-darken.png rename to src/assets/gnome-shell/backgrounds/background-darken.png diff --git a/src/assets/gnome-shell/common-assets/background-default.png b/src/assets/gnome-shell/backgrounds/background-default.png similarity index 100% rename from src/assets/gnome-shell/common-assets/background-default.png rename to src/assets/gnome-shell/backgrounds/background-default.png diff --git a/src/sass/gnome-shell/widgets-40-0/_overview.scss b/src/sass/gnome-shell/widgets-40-0/_overview.scss index 6d20457..6e87063 100644 --- a/src/sass/gnome-shell/widgets-40-0/_overview.scss +++ b/src/sass/gnome-shell/widgets-40-0/_overview.scss @@ -4,7 +4,7 @@ #overviewGroup { background-color: rgba($osd_bg_color, 1); - background-image: url("assets/background.png"); - background-repeat: no-repeat; - background-size: cover; + // background-image: url("assets/background.png"); + // background-repeat: no-repeat; + // background-size: cover; }