update
This commit is contained in:
parent
c006a57550
commit
8ac4a07f53
3 changed files with 7 additions and 5 deletions
|
@ -70,6 +70,8 @@ while [[ $# -gt 0 ]]; do
|
||||||
-h|--help)
|
-h|--help)
|
||||||
need_help="true"; shift ;;
|
need_help="true"; shift ;;
|
||||||
# Parameters that require value, single use
|
# Parameters that require value, single use
|
||||||
|
-b|--background)
|
||||||
|
check_param "${1}" "${1}" "${2}" "must" "must" "must" "false" && shift 2 || shift ;;
|
||||||
-d|--dest)
|
-d|--dest)
|
||||||
check_param "${1}" "${1}" "${2}" "must" "must" "not-at-all" && shift 2 || shift ;;
|
check_param "${1}" "${1}" "${2}" "must" "must" "not-at-all" && shift 2 || shift ;;
|
||||||
-n|--name)
|
-n|--name)
|
||||||
|
|
|
@ -127,15 +127,15 @@ install_beggy() {
|
||||||
}
|
}
|
||||||
|
|
||||||
install_beggy_blur() {
|
install_beggy_blur() {
|
||||||
local CONVERT_OPT=" -scale 1280x -blur 0x60 -fill black -colorize 45% "
|
local CONVERT_OPT=" -scale 1280x -blur 0x30 -fill black -colorize 45% "
|
||||||
|
|
||||||
case "${background}" in
|
case "${background}" in
|
||||||
blank)
|
blank)
|
||||||
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blank.png" "${WHITESUR_TMP_DIR}/beggy_blur.png" ;;
|
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blank.png" "${WHITESUR_TMP_DIR}/beggy-blur.png" ;;
|
||||||
default)
|
default)
|
||||||
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blur.png" "${WHITESUR_TMP_DIR}/beggy_blur.png" ;;
|
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" ;;
|
install_beggy_deps && convert "${background}" ${CONVERT_OPT} "${WHITESUR_TMP_DIR}/beggy-blur.png" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -205,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 "${WHITESUR_TMP_DIR}/beggy_blur.png" "${TARGET_DIR}/assets/background_blur.png"
|
cp -r "${WHITESUR_TMP_DIR}/beggy-blur.png" "${TARGET_DIR}/assets/background-blur.png"
|
||||||
|
|
||||||
(
|
(
|
||||||
cd "${TARGET_DIR}"
|
cd "${TARGET_DIR}"
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 127 B After Width: | Height: | Size: 126 B |
Loading…
Reference in a new issue