update
This commit is contained in:
parent
f0e0a497aa
commit
c006a57550
2 changed files with 17 additions and 3 deletions
|
@ -126,6 +126,19 @@ install_beggy() {
|
||||||
esac
|
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() {
|
install_darky() {
|
||||||
local opacity="$(destify ${1})"
|
local opacity="$(destify ${1})"
|
||||||
local theme="$(destify ${2})"
|
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"
|
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-default.png" "${TARGET_DIR}/assets/background.png"
|
||||||
fi
|
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}"
|
cd "${TARGET_DIR}"
|
||||||
|
@ -332,6 +345,7 @@ remove_packy() {
|
||||||
install_themes() {
|
install_themes() {
|
||||||
start_animation
|
start_animation
|
||||||
process_ids=()
|
process_ids=()
|
||||||
|
install_beggy_blur
|
||||||
|
|
||||||
for opacity in "${opacities[@]}"; do
|
for opacity in "${opacities[@]}"; do
|
||||||
for alt in "${alts[@]}"; do
|
for alt in "${alts[@]}"; do
|
||||||
|
|
|
@ -85,8 +85,8 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
|
||||||
$dark_sidebar_bg $nautilus_sidebar_size,
|
$dark_sidebar_bg $nautilus_sidebar_size,
|
||||||
$nautilus_borders_color $nautilus_sidebar_size,
|
$nautilus_borders_color $nautilus_sidebar_size,
|
||||||
$nautilus_borders_color ($nautilus_sidebar_size + 1px),
|
$nautilus_borders_color ($nautilus_sidebar_size + 1px),
|
||||||
$dark_sidebar_bg ($nautilus_sidebar_size + 1px),
|
$base_color ($nautilus_sidebar_size + 1px),
|
||||||
$dark_sidebar_bg 100%);
|
$base_color 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
@if $nautilus_style == 'default' or $nautilus_style == 'glassy' {
|
@if $nautilus_style == 'default' or $nautilus_style == 'glassy' {
|
||||||
|
|
Loading…
Reference in a new issue