7 Commits

Author SHA1 Message Date
vinceliuice
4fe5ae7a01 Update README.md 2023-06-11 11:52:29 +08:00
vinceliuice
6a0a091f8a update 2023-06-11 11:50:50 +08:00
vinceliuice
000bc7dafe Fixed #1 2023-06-11 11:31:11 +08:00
vinceliuice
1859a8bbc1 update 2023-04-09 21:42:46 +08:00
vinceliuice
66640ee697 Update README.md 2022-11-01 10:09:34 +08:00
vinceliuice
c57c19fd22 Update README.md 2022-11-01 10:08:34 +08:00
vinceliuice
de773926be Update 2022-11-01 10:03:50 +08:00
42 changed files with 473 additions and 578 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 532 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 893 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 712 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 372 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 857 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 347 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 817 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 572 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 612 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

BIN
4k/Ventura-dark.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 319 KiB

BIN
4k/Ventura-light.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

View File

@@ -1,23 +1,4 @@
# MacOS Wallpapers for linux desktop
## WhiteSur (Big Sur) Wallpapers
![1](1080p/WhiteSur-light.png)
![2](1080p/WhiteSur.png)
![3](1080p/WhiteSur-dark.png)
## Monterey Wallpapers
![1](1080p/Monterey-light.png)
![2](1080p/Monterey.png)
![3](1080p/Monterey-dark.png)
## Nord Wallpapers
![1](Wallpaper-nord/Mojave-nord-dark.png)
![2](Wallpaper-nord/WhiteSur-nord.png)
![3](Wallpaper-nord/Monterey-nord.png)
## Installation
### Install Gnome Backgrounds (wallpaper will change according to time)
```sh
@@ -27,13 +8,13 @@ sudo ./install-gnome-backgrounds.sh
> Options:
```
-t, --theme VARIANT Specify theme variant(s) [whitesur|monterey] (Default: All variants)s)
-s, --screen VARIANT Specify screen variant [1080p|2k|4k] (Default: 1080p)
-t, --theme VARIANT Specify theme variant(s) [whitesur|monterey|ventura] (Default: All variants)s)
-s, --screen VARIANT Specify screen variant [1080p|2k|4k] (Default: 4k)
-u, --uninstall Uninstall wallpappers
-h, --help Show help
```
### Install Normal Wallpappers
### Install Normal Wallpapers
```sh
./install-wallpapers.sh
@@ -42,10 +23,22 @@ sudo ./install-gnome-backgrounds.sh
> Options:
```
-t, --theme VARIANT Specify theme variant(s) [whitesur|monterey] (Default: All variants)s)
-c, --color VARIANT Specify color variant(s) [light|dark] (Default: All variants)s)
-s, --screen VARIANT Specify screen variant [1080p|2k|4k] (Default: 1080p)
-t, --theme VARIANT Specify theme variant(s) [whitesur|monterey|ventura] (Default: All variants)s)
-c, --color VARIANT Specify color variant(s) [night|light|dark] (Default: All variants)s)
-s, --screen VARIANT Specify screen variant [1080p|2k|4k] (Default: 4k)
-n, --nord VARIANT Specify Nord color variant(s)
-u, --uninstall Uninstall wallpappers
-h, --help Show help
```
## Ventura Wallpapers
![preview](preview-ventura.png)
## Monterey Wallpapers
![preview](preview-monterey.png)
## WhiteSur (Big Sur) Wallpapers
![preview](preview-whitesur.png)
## Nord Wallpapers
![preview](preview-nord.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 KiB

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

View File

Before

Width:  |  Height:  |  Size: 201 KiB

After

Width:  |  Height:  |  Size: 201 KiB

View File

@@ -7,7 +7,7 @@ REPO_DIR="$(cd "$(dirname "$0")" && pwd)"
BACKGROUND_DIR="/usr/share/backgrounds"
PROPERTIES_DIR="/usr/share/gnome-background-properties"
THEME_VARIANTS=('WhiteSur' 'Monterey')
THEME_VARIANTS=('WhiteSur' 'Monterey' 'Ventura')
SCREEN_VARIANTS=('1080p' '2k' '4k')
#COLORS
@@ -44,8 +44,8 @@ usage() {
Usage: $0 [OPTION]...
OPTIONS:
-t, --theme VARIANT Specify theme variant(s) [whitesur|monterey] (Default: All variants)s)
-s, --screen VARIANT Specify screen variant [1080p|2k|4k] (Default: 1080p)
-t, --theme VARIANT Specify theme variant(s) [whitesur|monterey|ventura] (Default: All variants)s)
-s, --screen VARIANT Specify screen variant [1080p|2k|4k] (Default: 4k)
-u, --uninstall Uninstall wallpappers
-h, --help Show help
@@ -63,9 +63,15 @@ install() {
[[ -d ${BACKGROUND_DIR}/${theme} ]] && rm -rf ${BACKGROUND_DIR}/${theme}
[[ -f ${PROPERTIES_DIR}/${theme}.xml ]] && rm -rf ${PROPERTIES_DIR}/${theme}.xml
mkdir -p ${BACKGROUND_DIR}/${theme}
cp -r ${REPO_DIR}/${screen}/${theme}{'','-morning','-light'}.jpg ${BACKGROUND_DIR}/${theme}
cp -r ${REPO_DIR}/xml-files/timed-xml-files/${theme}-timed.xml ${BACKGROUND_DIR}/${theme}
cp -r ${REPO_DIR}/xml-files/gnome-background-properties/${theme}.xml ${PROPERTIES_DIR}
if [[ "${theme}" == 'Ventura' ]]; then
cp -a --no-preserve=ownership ${REPO_DIR}/4k/${theme}{'-dark','-light'}.jpg ${BACKGROUND_DIR}/${theme}
else
cp -a --no-preserve=ownership ${REPO_DIR}/${screen}/${theme}{'','-morning','-light'}.jpg ${BACKGROUND_DIR}/${theme}
fi
cp -a --no-preserve=ownership ${REPO_DIR}/xml-files/timed-xml-files/${theme}-timed.xml ${BACKGROUND_DIR}/${theme}
cp -a --no-preserve=ownership ${REPO_DIR}/xml-files/gnome-background-properties/${theme}.xml ${PROPERTIES_DIR}
}
uninstall() {
@@ -75,6 +81,18 @@ uninstall() {
[[ -f ${PROPERTIES_DIR}/${theme}.xml ]] && rm -rf ${PROPERTIES_DIR}/${theme}.xml
}
uninstall_nord() {
[[ -d ${BACKGROUND_DIR}/Wallpaper-nord ]] && rm -rf ${BACKGROUND_DIR}/${BACKGROUND_DIR}/Wallpaper-nord
[[ -f ${PROPERTIES_DIR}/Mojave.xml ]] && rm -rf ${PROPERTIES_DIR}/Mojave.xml
}
install_nord_wallpaper() {
prompt -w "Install Nord version in ${BACKGROUND_DIR}... \n"
mkdir -p ${BACKGROUND_DIR}/Wallpaper-nord
cp -a --no-preserve=ownership ${REPO_DIR}/Wallpaper-nord/{'Mojave-nord','WhiteSur-nord'}{'-dark','-light'}.png ${BACKGROUND_DIR}/Wallpaper-nord
cp -a --no-preserve=ownership ${REPO_DIR}/xml-files/gnome-background-properties/Mojave.xml ${PROPERTIES_DIR}
}
while [[ $# -gt 0 ]]; do
case "${1}" in
-u|--uninstall)
@@ -93,6 +111,10 @@ while [[ $# -gt 0 ]]; do
themes+=("${THEME_VARIANTS[1]}")
shift 1
;;
ventura)
themes+=("${THEME_VARIANTS[2]}")
shift 1
;;
-*)
break
;;
@@ -154,7 +176,7 @@ fi
install_wallpaper() {
echo
for theme in "${themes[@]}"; do
for screen in "${screens[0]}"; do
for screen in "${screens[2]}"; do
install "$theme" "$screen"
done
done
@@ -177,9 +199,9 @@ if [[ $UID -ne $ROOT_UID ]]; then
fi
if [[ "${uninstall}" != 'true' ]]; then
install_wallpaper
install_wallpaper && install_nord_wallpaper
else
uninstall_wallpaper
uninstall_wallpaper && uninstall_nord
fi
prompt -s "Finished!"

View File

@@ -3,7 +3,7 @@
REPO_DIR="$(cd "$(dirname "$0")" && pwd)"
WALLPAPER_DIR="$HOME/.local/share/backgrounds"
THEME_VARIANTS=('WhiteSur' 'Monterey')
THEME_VARIANTS=('WhiteSur' 'Monterey' 'Ventura')
COLOR_VARIANTS=('' '-light' '-dark')
SCREEN_VARIANTS=('1080p' '2k' '4k')
@@ -41,9 +41,9 @@ usage() {
Usage: $0 [OPTION]...
OPTIONS:
-t, --theme VARIANT Specify theme variant(s) [whitesur|monterey] (Default: All variants)s)
-c, --color VARIANT Specify color variant(s) [night|light|dark] (Default: All variants)s)
-s, --screen VARIANT Specify screen variant [1080p|2k|4k] (Default: 1080p)
-t, --theme VARIANT Specify theme variant(s) [whitesur|monterey|ventura] (Default: All variants)s)
-c, --color VARIANT Specify color variant(s) [morning|light|dark] (Default: All variants)s)
-s, --screen VARIANT Specify screen variant [1080p|2k|4k] (Default: 4k)
-n, --nord VARIANT Specify Nord color variant(s)
-u, --uninstall Uninstall wallpappers
-h, --help Show help
@@ -60,15 +60,35 @@ install() {
local screen="$3"
prompt -i "\n * Install ${theme}${color} in ${WALLPAPER_DIR}... "
mkdir -p "${WALLPAPER_DIR}"
[[ -f ${WALLPAPER_DIR}/${theme}${color}.png ]] && rm -rf ${WALLPAPER_DIR}/${theme}${color}.png
cp -r ${REPO_DIR}/${screen}/${theme}${color}.png ${WALLPAPER_DIR}
if [[ "${theme}" == 'Ventura' ]]; then
[[ "${color}" == '' ]] && local color='-light'
fi
[[ -f ${WALLPAPER_DIR}/${theme}${color}.jpg ]] && rm -rf ${WALLPAPER_DIR}/${theme}${color}.jpg
if [[ "${theme}" == 'Ventura' ]]; then
cp -a --no-preserve=ownership ${REPO_DIR}/4k/${theme}${color}.jpg ${WALLPAPER_DIR}
else
cp -a --no-preserve=ownership ${REPO_DIR}/${screen}/${theme}${color}.jpg ${WALLPAPER_DIR}
fi
}
install_nord() {
prompt -i "\n * Install Nord Wallpapers in ${WALLPAPER_DIR}... "
cp -a --no-preserve=ownership ${REPO_DIR}/Wallpaper-nord/{'Mojave-nord','WhiteSur-nord'}{'-dark','-light'}.png ${WALLPAPER_DIR}
}
uninstall() {
local theme="$1"
local color="$2"
prompt -i "\n * Uninstall ${theme}${color}... "
[[ -f ${WALLPAPER_DIR}/${theme}${color}.png ]] && rm -rf ${WALLPAPER_DIR}/${theme}${color}.png
rm -rf ${WALLPAPER_DIR}/${theme}${color}.jpg
}
uninstall_nord() {
prompt -i "\n * Uninstall Nord Wallpapers... "
rm -rf ${WALLPAPER_DIR}/{'Mojave-nord','WhiteSur-nord'}{'-dark','-light'}.png
}
while [[ $# -gt 0 ]]; do
@@ -93,11 +113,15 @@ while [[ $# -gt 0 ]]; do
themes+=("${THEME_VARIANTS[1]}")
shift 1
;;
ventura)
themes+=("${THEME_VARIANTS[1]}")
shift 1
;;
-*)
break
;;
*)
echo "ERROR: Unrecognized color variant '$1'."
echo "ERROR: Unrecognized theme variant '$1'."
echo "Try '$0 --help' for more information."
exit 1
;;
@@ -179,15 +203,9 @@ if [[ "${#colors[@]}" -eq 0 ]] ; then
fi
if [[ "${#screens[@]}" -eq 0 ]] ; then
screens=("${SCREEN_VARIANTS[0]}")
screens=("${SCREEN_VARIANTS[2]}")
fi
install_nord() {
prompt -i "* Install Nord Wallpapers in ${WALLPAPER_DIR}... "
mkdir -p "${WALLPAPER_DIR}"g
cp -rf ${REPO_DIR}/Wallpaper-nord/*.png ${WALLPAPER_DIR}
}
install_wallpaper() {
for theme in "${themes[@]}"; do
for color in "${colors[@]}"; do
@@ -214,7 +232,7 @@ if [[ "${uninstall}" != 'true' ]]; then
install_nord
fi
else
uninstall_wallpaper
uninstall_wallpaper && uninstall_nord
fi
prompt -s "\n * All done!"
echo

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

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Mojave Nord Background</name>
<filename>/usr/share/backgrounds/Wallpaper-nord/Mojave-nord-light.png</filename>
<filename-dark>/usr/share/backgrounds/Wallpaper-nord/Mojave-nord-dark.png</filename-dark>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#3071AE</pcolor>
<scolor>#000000</scolor>
</wallpaper>
</wallpapers>

View File

@@ -3,6 +3,16 @@
<wallpapers>
<wallpaper deleted="false">
<name>Monterey Background</name>
<filename>/usr/share/backgrounds/Monterey/Monterey-light.jpg</filename>
<filename-dark>/usr/share/backgrounds/Monterey/Monterey.jpg</filename-dark>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#51a2da</pcolor>
<scolor>#294172</scolor>
</wallpaper>
<wallpaper deleted="false">
<name>Monterey Time of Day</name>
<filename>/usr/share/backgrounds/Monterey/Monterey-timed.xml</filename>
<options>zoom</options>
<shade_type>solid</shade_type>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Ventura Background</name>
<filename>/usr/share/backgrounds/Ventura/Ventura-light.jpg</filename>
<filename-dark>/usr/share/backgrounds/Ventura/Ventura-dark.jpg</filename-dark>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#51a2da</pcolor>
<scolor>#294172</scolor>
</wallpaper>
<wallpaper deleted="false">
<name>Ventura Time of Day</name>
<filename>/usr/share/backgrounds/Ventura/Ventura-timed.xml</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
</wallpaper>
</wallpapers>

View File

@@ -3,6 +3,26 @@
<wallpapers>
<wallpaper deleted="false">
<name>WhiteSur Background</name>
<filename>/usr/share/backgrounds/WhiteSur/WhiteSur-light.jpg</filename>
<filename-dark>/usr/share/backgrounds/WhiteSur/WhiteSur.jpg</filename-dark>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#51a2da</pcolor>
<scolor>#294172</scolor>
</wallpaper>
<wallpaper deleted="false">
<name>WhiteSur Nord Background</name>
<filename>/usr/share/backgrounds/Wallpaper-nord/WhiteSur-nord-light.png</filename>
<filename-dark>/usr/share/backgrounds/Wallpaper-nord/WhiteSur-nord-dark.png</filename-dark>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#6882b3</pcolor>
<scolor>#455a85</scolor>
</wallpaper>
<wallpaper deleted="false">
<name>WhiteSur Time of Day</name>
<filename>/usr/share/backgrounds/WhiteSur/WhiteSur-timed.xml</filename>
<options>zoom</options>
<shade_type>solid</shade_type>

View File

@@ -0,0 +1,51 @@
<background>
<starttime>
<year>2011</year>
<month>11</month>
<day>24</day>
<hour>7</hour>
<minute>00</minute>
<second>00</second>
</starttime>
<!-- This animation will start at 7 AM. -->
<!-- We start with sunrise at 7 AM. It will remain up for 1 hour. -->
<static>
<duration>3600.0</duration>
<file>/usr/share/backgrounds/Ventura/Ventura-light.jpg</file>
</static>
<!-- Sunrise starts to transition to day at 8 AM. The transition lasts for 5 hours, ending at 1 PM. -->
<transition type="overlay">
<duration>18000.0</duration>
<from>/usr/share/backgrounds/Ventura/Ventura-light.jpg</from>
<to>/usr/share/backgrounds/Ventura/Ventura-light.jpg</to>
</transition>
<!-- It's 1 PM, we're showing the day image in full force now, for 5 hours ending at 6 PM. -->
<static>
<duration>18000.0</duration>
<file>/usr/share/backgrounds/Ventura/Ventura-light.jpg</file>
</static>
<!-- It's 7 PM and it's going to start to get darker. This will transition for 6 hours up until midnight. -->
<transition type="overlay">
<duration>21600.0</duration>
<from>/usr/share/backgrounds/Ventura/Ventura-light.jpg</from>
<to>/usr/share/backgrounds/Ventura/Ventura-dark.jpg</to>
</transition>
<!-- It's midnight. It'll stay dark for 5 hours up until 5 AM. -->
<static>
<duration>18000.0</duration>
<file>/usr/share/backgrounds/Ventura/Ventura-dark.jpg</file>
</static>
<!-- It's 5 AM. We'll start transitioning to sunrise for 2 hours up until 7 AM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/Ventura/Ventura-dark.jpg</from>
<to>/usr/share/backgrounds/Ventura/Ventura-light.jpg</to>
</transition>
</background>