Skip to content

Commit

Permalink
We no longer have resolution-specific .desktop files
Browse files Browse the repository at this point in the history
  • Loading branch information
lkocman committed Oct 1, 2024
1 parent 532be81 commit e53f42a
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 17 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ wallpaper.d:
optipng -o5 openSUSE/wallpapers/openSUSEdefault/contents/images/default-dark.png
optipng -o5 openSUSE/wallpapers/openSUSEdefault/contents/images/default.png

cp wallpapers/default.png.desktop openSUSE/wallpapers
sed "s:@VERSION@:${VERSION}:g;s:@VERSION_NO_DOT@:${VERSION_NO_DOT}:g" wallpapers/openSUSE.png.desktop.in > openSUSE/wallpapers/openSUSE${VERSION_NO_DOT}.png.desktop
ln -sf openSUSE${VERSION_NO_DOT}.png openSUSE/wallpapers/default.png
ln -sf openSUSEdefault/contents/images/default.png openSUSE/wallpapers/openSUSE${VERSION_NO_DOT}.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)
Expand Down
2 changes: 0 additions & 2 deletions wallpapers/default-1920x1080.png.desktop

This file was deleted.

2 changes: 0 additions & 2 deletions wallpapers/default-1920x1200.png.desktop

This file was deleted.

File renamed without changes.
6 changes: 0 additions & 6 deletions wallpapers/openSUSE-1600x1200.png.desktop.in

This file was deleted.

6 changes: 0 additions & 6 deletions wallpapers/openSUSE-1920x1080.png.desktop.in

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Wallpaper]
Encoding=UTF-8
File=openSUSE@VERSION_NO_DOT@-1920x1200.png
File=openSUSE@[email protected]
Name=openSUSE @VERSION@
ImageType=pixmap
Hidden=true

0 comments on commit e53f42a

Please sign in to comment.