Update default wallpaper

This commit is contained in:
eabdullin 2022-06-06 21:26:20 +03:00
parent 797fe9b08b
commit 5eccb83642
6 changed files with 21 additions and 16 deletions

View File

@ -2,5 +2,5 @@
Name=AlmaLinux mountains-dark
X-KDE-PluginInfo-Name=Alma-mountains-dark
X-KDE-PluginInfo-Author=Bala Raman
X-KDE-PluginInfo-Email=srbala@gmail.com
X-KDE-PluginInfo-Email=srbala@almalinux.org
X-KDE-PluginInfo-License=MIT

View File

@ -2,5 +2,5 @@
Name=AlmaLinux mountains-white
X-KDE-PluginInfo-Name=Alma-mountains-white
X-KDE-PluginInfo-Author=Bala Raman
X-KDE-PluginInfo-Email=srbala@gmail.com
X-KDE-PluginInfo-Email=srbala@almalinux.org
X-KDE-PluginInfo-License=MIT

View File

@ -2,5 +2,5 @@
Name=AlmaLinux waves-dark
X-KDE-PluginInfo-Name=Alma-waves-dark
X-KDE-PluginInfo-Author=Bala Raman
X-KDE-PluginInfo-Email=srbala@gmail.com
X-KDE-PluginInfo-Email=srbala@almalinux.org
X-KDE-PluginInfo-License=MIT

View File

@ -2,5 +2,5 @@
Name=AlmaLinux waves-light
X-KDE-PluginInfo-Name=Alma-waves-light
X-KDE-PluginInfo-Author=Bala Raman
X-KDE-PluginInfo-Email=srbala@gmail.com
X-KDE-PluginInfo-Email=srbala@almalinux.org
X-KDE-PluginInfo-License=MIT

View File

@ -2,5 +2,5 @@
Name=AlmaLinux waves-sunset
X-KDE-PluginInfo-Name=Alma-waves-sunset
X-KDE-PluginInfo-Author=Bala Raman
X-KDE-PluginInfo-Email=srbala@gmail.com
X-KDE-PluginInfo-Email=srbala@almalinux.org
X-KDE-PluginInfo-License=MIT

View File

@ -15,11 +15,11 @@ Source0: alma-dark-metadata.desktop
Source1: alma-light-metadata.desktop
Source2: alma-abstract-dark-metadata.desktop
Source3: alma-abstract-light-metadata.desktop
Source4: alma-mountains-dark.desktop
Source5: alma-mountains-white.desktop
Source6: alma-waves-dark.desktop
Source7: alma-waves-light.desktop
Source8: alma-waves-sunset.desktop
Source4: alma-mountains-dark-metadata.desktop
Source5: alma-mountains-light-metadata.desktop
Source6: alma-waves-dark-metadata.desktop
Source7: alma-waves-light-metadata.desktop
Source8: alma-waves-sunset-metadata.desktop
License: MIT
Requires: almalinux-backgrounds
@ -37,7 +37,7 @@ AlmaLinux-related desktop backgrounds for KDE and XFCE
%install
# Declare an array for background types
declare -a bgtypes=("abstract-dark" "abstract-light" "dark" "light" "mountains-dark" "mountains-white" "waves-dark" "waves-light" "waves-sunset")
declare -a bgtypes=("dark" "light" "abstract-dark" "abstract-light" "mountains-dark" "mountains-white" "waves-dark" "waves-light" "waves-sunset")
# Declare an array for background sizes
declare -a sizes=("1800x1440.jpg" "2048x1536.jpg" "2560x1080.jpg" "2560x1440.jpg" "2560x1600.jpg" "3440x1440.jpg")
# kde
@ -57,15 +57,20 @@ install -p -m 644 %{SOURCE0} %{buildroot}%{_datadir}/wallpapers/Alma-dark/metada
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/wallpapers/Alma-light/metadata.desktop
install -p -m 644 %{SOURCE2} %{buildroot}%{_datadir}/wallpapers/Alma-abstract-dark/metadata.desktop
install -p -m 644 %{SOURCE3} %{buildroot}%{_datadir}/wallpapers/Alma-abstract-light/metadata.desktop
install -p -m 644 %{SOURCE4} %{buildroot}%{_datadir}/wallpapers/Alma-mountains-dark/metadata.desktop
install -p -m 644 %{SOURCE5} %{buildroot}%{_datadir}/wallpapers/Alma-mountains-white/metadata.desktop
install -p -m 644 %{SOURCE6} %{buildroot}%{_datadir}/wallpapers/Alma-waves-dark/metadata.desktop
install -p -m 644 %{SOURCE7} %{buildroot}%{_datadir}/wallpapers/Alma-waves-light/metadata.desktop
install -p -m 644 %{SOURCE8} %{buildroot}%{_datadir}/wallpapers/Alma-waves-sunset/metadata.desktop
# xfce
mkdir -p %{buildroot}%{_datadir}/backgrounds/images
ln -s %{_datadir}/backgrounds/Alma-dark-2560x1440.jpg %{buildroot}%{_datadir}/backgrounds/default.png
ln -s %{_datadir}/backgrounds/Alma-dark-2560x1440.jpg %{buildroot}%{_datadir}/backgrounds/images/default.png
ln -s %{_datadir}/backgrounds/Alma-dark-2560x1440.jpg %{buildroot}%{_datadir}/backgrounds/images/default-16_9.png
ln -s %{_datadir}/backgrounds/Alma-dark-2560x1600.jpg %{buildroot}%{_datadir}/backgrounds/images/default-16_10.png
ln -s %{_datadir}/backgrounds/Alma-mountains-white-2560x1440.jpg %{buildroot}%{_datadir}/backgrounds/default.png
ln -s %{_datadir}/backgrounds/Alma-mountains-white-2560x1440.jpg %{buildroot}%{_datadir}/backgrounds/images/default.png
ln -s %{_datadir}/backgrounds/Alma-mountains-white-2560x1440.jpg %{buildroot}%{_datadir}/backgrounds/images/default-16_9.png
ln -s %{_datadir}/backgrounds/Alma-mountains-white-2560x1600.jpg %{buildroot}%{_datadir}/backgrounds/images/default-16_10.png
# TODO: Replace following symlink with an actual 5/4 ratio image if one is added in the future
ln -s %{_datadir}/backgrounds/Alma-dark-2048x1536.jpg %{buildroot}%{_datadir}/backgrounds/images/default-5_4.png
ln -s %{_datadir}/backgrounds/Alma-mountains-white-2048x1536.jpg %{buildroot}%{_datadir}/backgrounds/images/default-5_4.png
%post