Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tumbleweed wallpaper refresh #160

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ THEME=openSUSE
all: info openSUSE.d

info:
echo "Make sure to have rsvg-view and GraphicsMagick installed"
echo "Make sure to have rsvg-view, GraphicsMagick and optipng installed"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sync with Leap 16.0, we do use optipng


openSUSE.d: gfxboot.d gnome.d grub2.d icewm.d libreoffice.d wallpaper.d yast.d plymouth.d

Expand Down Expand Up @@ -67,25 +67,26 @@ libreoffice.d:
mkdir -p openSUSE/libreoffice/program
cp -r libreoffice/flat_logo.svg libreoffice/sofficerc libreoffice/shell openSUSE/libreoffice/program/
rsvg-convert libreoffice/intro.svg -o openSUSE/libreoffice/program/intro.png
optipng -o7 openSUSE/libreoffice/program/intro.png
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sync with Leap 16.0 we are using optipng there too


libreoffice.d_clean:
rm -rf openSUSE/libreoffice

CLEAN_DEPS+=libreoffice.d_clean

wallpaper.d:
# We're now using single 4096x4096 wallpaper which is then scaled/zoomed-in as needed
# https://github.com/openSUSE/branding/issues/161
mkdir -p openSUSE/wallpapers openSUSE/wallpapers/openSUSEdefault/contents/images
for size in 5120x3200 3840x2400 1280x1024 1600x1200 1920x1080 1920x1200 1350x1080 1440x1080; do \
rsvg-convert raw-theme-drop/desktop-$${size}.svg -o openSUSE/wallpapers/openSUSEdefault/contents/images/$${size}.png; \
optipng -o5 openSUSE/wallpapers/openSUSEdefault/contents/images/$${size}.png; \
done
for size in 1600x1200 1920x1200 1920x1080; do \
cp wallpapers/default-$${size}.png.desktop openSUSE/wallpapers; \
sed "s:@VERSION@:${VERSION}:g;s:@VERSION_NO_DOT@:${VERSION_NO_DOT}:g" wallpapers/openSUSE-$${size}.png.desktop.in > openSUSE/wallpapers/openSUSE${VERSION_NO_DOT}-$${size}.png.desktop; \
ln -sf openSUSE${VERSION_NO_DOT}-$${size}.png openSUSE/wallpapers/default-$${size}.png; \
ln -sf openSUSEdefault/contents/images/$${size}.png openSUSE/wallpapers/openSUSE${VERSION_NO_DOT}-$${size}.png; \
done
ln -s contents/images/1920x1200.png openSUSE/wallpapers/openSUSEdefault/screenshot.png
rsvg-convert raw-theme-drop/default-dark.svg -o openSUSE/wallpapers/openSUSEdefault/contents/images/default-dark.png
rsvg-convert raw-theme-drop/default.svg -o openSUSE/wallpapers/openSUSEdefault/contents/images/default.png
optipng -o5 openSUSE/wallpapers/openSUSEdefault/contents/images/default-dark.png
optipng -o5 openSUSE/wallpapers/openSUSEdefault/contents/images/default.png

cp -p kde-workspace/metadata.json openSUSE/wallpapers/openSUSEdefault/metadata.json

# Screenshot.png has 1600x1200 resolution (50:50 blend of dark and light variants)
cp -p raw-theme-drop/screenshot.png openSUSE/wallpapers/openSUSEdefault/screenshot.png
cp -p kde-workspace/metadata.json openSUSE/wallpapers/openSUSEdefault/metadata.json

wallpaper.d_clean:
Expand Down
29 changes: 13 additions & 16 deletions gnome/openSUSE-default-static.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
<background>
<static>
<!-- 100 days -->
<duration>8640000.0</duration>
<file>
<size width="1280" height="1024">/usr/share/wallpapers/openSUSEdefault/contents/images/1280x1024.png</size>
<size width="1600" height="1200">/usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.png</size>
<size width="1920" height="1080">/usr/share/wallpapers/openSUSEdefault/contents/images/1920x1080.png</size>
<size width="1920" height="1200">/usr/share/wallpapers/openSUSEdefault/contents/images/1920x1200.png</size>
<size width="1350" height="1080">/usr/share/wallpapers/openSUSEdefault/contents/images/1350x1080.png</size>
<size width="1440" height="1080">/usr/share/wallpapers/openSUSEdefault/contents/images/1440x1080.png</size>
<size width="3840" height="2400">/usr/share/wallpapers/openSUSEdefault/contents/images/3840x2400.png</size>
<size width="5120" height="3200">/usr/share/wallpapers/openSUSEdefault/contents/images/5120x3200.png</size>
</file>
</static>
</background>
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Default Background</name>
<filename>/usr/share/wallpapers/openSUSEdefault/contents/images/default.png</filename>
<filename-dark>/usr/share/wallpapers/openSUSEdefault/contents/images/default-dark.png</filename-dark>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#63bbb2ff</pcolor>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used Tumbleweed light bg color as primary, dark bg as secondary

<scolor>#0c2a27ff</scolor>
</wallpaper>
</wallpapers>
149 changes: 2 additions & 147 deletions raw-theme-drop/back.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions raw-theme-drop/default-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions raw-theme-drop/default.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
109,180 changes: 0 additions & 109,180 deletions raw-theme-drop/desktop-1280x1024.svg

This file was deleted.

126,254 changes: 0 additions & 126,254 deletions raw-theme-drop/desktop-1350x1080.svg

This file was deleted.

125,884 changes: 0 additions & 125,884 deletions raw-theme-drop/desktop-1440x1080.svg

This file was deleted.

163,952 changes: 0 additions & 163,952 deletions raw-theme-drop/desktop-1600x1200.svg

This file was deleted.

129,837 changes: 0 additions & 129,837 deletions raw-theme-drop/desktop-1920x1080.svg

This file was deleted.

Loading