Skip to content

Commit

Permalink
Unified 4096x4096 TW wallpaper for Tumbleweed
Browse files Browse the repository at this point in the history
* Graphics from @hellcp. Many thanks for all the work!
* Resolves TW part of gh##135
* Covers both dark and light variant
* Use single 4096x4096 file as mentioned in gh##161
* Use the dark 800x600 also for the back.png
* Use default.png instead of default-light.png to maximize compatability.
  • Loading branch information
lkocman committed Sep 30, 2024
1 parent fd4fa92 commit a2e3878
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 1,085,541 deletions.
22 changes: 11 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,18 @@ libreoffice.d_clean:
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>
<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.

93,882 changes: 0 additions & 93,882 deletions raw-theme-drop/desktop-1920x1200.svg

This file was deleted.

Loading

0 comments on commit a2e3878

Please sign in to comment.