From a9fd13617ab2e51aed2521c02503d321bec667f4 Mon Sep 17 00:00:00 2001 From: Zeglius <33781398+Zeglius@users.noreply.github.com> Date: Mon, 18 Nov 2024 01:51:29 +0100 Subject: [PATCH] feat: Add workaround to allow KDE Discover install sddm themes (#1890) * chore(readme): Remove tuned mention now that it's upstream * feat: Add workaround to allow KDE Discover install sddm themes --------- Co-authored-by: Kyle Gospodnetich --- Containerfile | 1 + .../systemd/system/usr-share-sddm-themes.mount | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 system_files/desktop/kinoite/usr/lib/systemd/system/usr-share-sddm-themes.mount diff --git a/Containerfile b/Containerfile index 5f46e968..61c70ad6 100644 --- a/Containerfile +++ b/Containerfile @@ -757,6 +757,7 @@ RUN rm -f /etc/profile.d/toolbox.sh && \ systemctl enable ublue-update.timer && \ systemctl enable incus-workaround.service && \ systemctl enable bazzite-hardware-setup.service && \ + systemctl enable usr-share-sddm-themes.mount && \ systemctl disable tailscaled.service && \ systemctl enable dev-hugepages1G.mount && \ systemctl enable bazzite-snapper-setup && \ diff --git a/system_files/desktop/kinoite/usr/lib/systemd/system/usr-share-sddm-themes.mount b/system_files/desktop/kinoite/usr/lib/systemd/system/usr-share-sddm-themes.mount new file mode 100644 index 00000000..7e3ad303 --- /dev/null +++ b/system_files/desktop/kinoite/usr/lib/systemd/system/usr-share-sddm-themes.mount @@ -0,0 +1,15 @@ +# Workaround to allow KDE Discover to install sddm themes + +[Unit] +Description=KDE writable sddm workaround +RequiresMountsFor=/usr/share/sddm/themes +PartOf=bazzite-kde-themes-workaround.target + +[Mount] +Type=overlay +What=overlay +Where=/usr/share/sddm/themes +Options=lowerdir=/usr/share/sddm/themes,upperdir=/var/sddm_themes/themes,workdir=/var/sddm_themes/themes.work + +[Install] +WantedBy=multi-user.target