diff --git a/lib-install.sh b/lib-install.sh index c194312..c81f710 100755 --- a/lib-install.sh +++ b/lib-install.sh @@ -126,6 +126,19 @@ install_beggy() { esac } +install_beggy_blur() { + local CONVERT_OPT=" -scale 1280x -blur 0x60 -fill black -colorize 45% " + + case "${background}" in + blank) + cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blank.png" "${WHITESUR_TMP_DIR}/beggy_blur.png" ;; + default) + cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blur.png" "${WHITESUR_TMP_DIR}/beggy_blur.png" ;; + *) + install_beggy_deps && convert "${background}" ${CONVERT_OPT} "${WHITESUR_TMP_DIR}/beggy_blur.png" ;; + esac +} + install_darky() { local opacity="$(destify ${1})" local theme="$(destify ${2})" @@ -192,7 +205,7 @@ install_shelly() { cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-default.png" "${TARGET_DIR}/assets/background.png" fi - cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blur.png" "${TARGET_DIR}/assets" + cp -r "${WHITESUR_TMP_DIR}/beggy_blur.png" "${TARGET_DIR}/assets/background_blur.png" ( cd "${TARGET_DIR}" @@ -332,6 +345,7 @@ remove_packy() { install_themes() { start_animation process_ids=() + install_beggy_blur for opacity in "${opacities[@]}"; do for alt in "${alts[@]}"; do diff --git a/src/sass/gtk/_applications-3.0.scss b/src/sass/gtk/_applications-3.0.scss index 13cedb2..d8851db 100644 --- a/src/sass/gtk/_applications-3.0.scss +++ b/src/sass/gtk/_applications-3.0.scss @@ -85,8 +85,8 @@ $nautilus_sidebar_image: image($dark_sidebar_bg); $dark_sidebar_bg $nautilus_sidebar_size, $nautilus_borders_color $nautilus_sidebar_size, $nautilus_borders_color ($nautilus_sidebar_size + 1px), - $dark_sidebar_bg ($nautilus_sidebar_size + 1px), - $dark_sidebar_bg 100%); + $base_color ($nautilus_sidebar_size + 1px), + $base_color 100%); } @if $nautilus_style == 'default' or $nautilus_style == 'glassy' {