fix(sddm): Create sddm themes overlay directories (#1926)

This commit is contained in:
Zeglius 2024-11-25 22:48:48 +01:00 committed by GitHub
parent c1b88e4595
commit 0f64318593
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View File

@ -1,8 +1,11 @@
# Workaround to allow KDE Discover to install sddm themes
# TODO: Remove this whenever sddm allows installing themes other than in /usr/share.
# See https://github.com/sddm/sddm/issues/1561
[Unit]
Description=KDE writable sddm workaround
RequiresMountsFor=/usr/share/sddm/themes
RequiresMountsFor=/usr/share/sddm/themes /var/sddm_themes
ConditionPathExists=/var/sddm_themes/themes /var/sddm_themes/themes.work
PartOf=bazzite-kde-themes-workaround.target
[Mount]

View File

@ -0,0 +1,6 @@
# Workaround to allow KDE Discover to install sddm themes
# TODO: Remove this whenever sddm allows installing themes other than in /usr/share.
# See https://github.com/sddm/sddm/issues/1561
d /var/sddm_themes/themes 0755 - - -
d /var/sddm_themes/themes.work 0755 - - -