This commit is contained in:
vinceliuice 2023-06-11 11:50:50 +08:00
parent 000bc7dafe
commit 6a0a091f8a
6 changed files with 10 additions and 15 deletions

View file

@ -31,19 +31,14 @@ sudo ./install-gnome-backgrounds.sh
-h, --help Show help -h, --help Show help
``` ```
## WhiteSur (Big Sur) Wallpapers ## Ventura Wallpapers
![1](1080p/WhiteSur-light.png) ![preview](preview-ventura.png)
![2](1080p/WhiteSur.png)
![3](1080p/WhiteSur-dark.png)
## Monterey Wallpapers ## Monterey Wallpapers
![1](1080p/Monterey-light.png) ![preview](preview-monterey.png)
![2](1080p/Monterey.png)
![3](1080p/Monterey-dark.png) ## WhiteSur (Big Sur) Wallpapers
![preview](preview-whitesur.png)
## Nord Wallpapers ## Nord Wallpapers
![1](Wallpaper-nord/Mojave-nord-light.png) ![preview](preview-nord.png)
![2](Wallpaper-nord/Mojave-nord-dark.png)
![3](Wallpaper-nord/WhiteSur-nord-light.png)
![4](Wallpaper-nord/WhiteSur-nord-dark.png)
![5](Wallpaper-nord/Monterey-nord.png)

View file

@ -4,7 +4,7 @@ REPO_DIR="$(cd "$(dirname "$0")" && pwd)"
WALLPAPER_DIR="$HOME/.local/share/backgrounds" WALLPAPER_DIR="$HOME/.local/share/backgrounds"
THEME_VARIANTS=('WhiteSur' 'Monterey' 'Ventura') THEME_VARIANTS=('WhiteSur' 'Monterey' 'Ventura')
COLOR_VARIANTS=('-morning' '-light' '-dark') COLOR_VARIANTS=('' '-light' '-dark')
SCREEN_VARIANTS=('1080p' '2k' '4k') SCREEN_VARIANTS=('1080p' '2k' '4k')
#COLORS #COLORS
@ -62,7 +62,7 @@ install() {
mkdir -p "${WALLPAPER_DIR}" mkdir -p "${WALLPAPER_DIR}"
if [[ "${theme}" == 'Ventura' ]]; then if [[ "${theme}" == 'Ventura' ]]; then
[[ "${color}" == '-morning' ]] && local color='-light' [[ "${color}" == '' ]] && local color='-light'
fi fi
[[ -f ${WALLPAPER_DIR}/${theme}${color}.jpg ]] && rm -rf ${WALLPAPER_DIR}/${theme}${color}.jpg [[ -f ${WALLPAPER_DIR}/${theme}${color}.jpg ]] && rm -rf ${WALLPAPER_DIR}/${theme}${color}.jpg
@ -132,7 +132,7 @@ while [[ $# -gt 0 ]]; do
shift shift
for color in "$@"; do for color in "$@"; do
case "$color" in case "$color" in
morning) night)
colors+=("${COLOR_VARIANTS[0]}") colors+=("${COLOR_VARIANTS[0]}")
shift 1 shift 1
;; ;;

BIN
preview-monterey.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

BIN
preview-nord.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

BIN
preview-ventura.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

BIN
preview-whitesur.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB