chore: Replace KDE splash screen logo

Fixes #672
This commit is contained in:
Kyle Gospodnetich 2024-01-12 15:10:10 -08:00
parent 3ed5972f59
commit 6ba3563cd1
4 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,24 @@
diff -Naur a/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml b/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml
--- a/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml
+++ b/usr/share/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/Splash.qml
@@ -42,7 +42,7 @@
anchors.centerIn: parent
- source: "images/deck_logo.svgz"
+ source: "images/bazzite_logo.svgz"
sourceSize.width: 128
sourceSize.height: 128
diff -Naur a/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml b/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml
--- a/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml
+++ b/usr/share/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/Splash.qml
@@ -42,7 +42,7 @@
anchors.centerIn: parent
- source: "images/deck_logo.svgz"
+ source: "images/bazzite_logo.svgz"
sourceSize.width: 128
sourceSize.height: 128

Binary file not shown.

View File

@ -8,8 +8,10 @@ URL: https://github.com/ublue-os/bazzite
Source0: https://gitlab.com/evlaV/steamdeck-kde-presets/-/archive/master/steamdeck-kde-presets-master.tar.gz
Source1: kdeglobals-desktop
Source2: steamdeck-le.svg
Source3: bazzite_logo.svgz
Patch0: multiuser.patch
Patch1: lockscreen.patch
Patch2: bazzite_logo.patch
BuildArch: noarch
@ -61,6 +63,10 @@ rm %{buildroot}%{_sysconfdir}/xdg/baloofilerc
rm %{buildroot}%{_sysconfdir}/xdg/kdeglobals
rm %{buildroot}%{_sysconfdir}/xdg/kcm-about-distrorc
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/kdeglobals
rm %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/images/deck_logo.svgz
rm %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/images/deck_logo.svgz
cp %{SOURCE3} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/images/bazzite_logo.svgz
cp %{SOURCE3} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/images/bazzite_logo.svgz
# Do post-installation
%post

View File

@ -7,10 +7,12 @@ URL: https://github.com/ublue-os/bazzite
Source0: https://gitlab.com/evlaV/%{name}/-/archive/master/%{name}-master.tar.gz
Source1: steamdeck-le.svg
Source2: bazzite_logo.svgz
BuildArch: noarch
Patch0: fedora.patch
Patch1: nested-desktop-resolution.patch
Patch2: kdeglobals.patch
Patch3: bazzite_logo.patch
Requires: kde-filesystem
@ -47,6 +49,10 @@ rm %{buildroot}%{_datadir}/applications/org.mozilla.firefox.desktop
rm %{buildroot}%{_sysconfdir}/profile.d/kde.sh
rm %{buildroot}%{_sysconfdir}/xdg/kcm-about-distrorc
rm %{buildroot}%{_sysconfdir}/X11/Xsession.d/50rotate-screen
rm %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/images/deck_logo.svgz
rm %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/images/deck_logo.svgz
cp %{SOURCE2} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/images/bazzite_logo.svgz
cp %{SOURCE2} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/images/bazzite_logo.svgz
# Do post-installation
%post