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
```
## WhiteSur (Big Sur) Wallpapers
![1](1080p/WhiteSur-light.png)
![2](1080p/WhiteSur.png)
![3](1080p/WhiteSur-dark.png)
## Ventura Wallpapers
![preview](preview-ventura.png)
## Monterey Wallpapers
![1](1080p/Monterey-light.png)
![2](1080p/Monterey.png)
![3](1080p/Monterey-dark.png)
![preview](preview-monterey.png)
## WhiteSur (Big Sur) Wallpapers
![preview](preview-whitesur.png)
## Nord Wallpapers
![1](Wallpaper-nord/Mojave-nord-light.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)
![preview](preview-nord.png)

View file

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