Skip to content

Commit

Permalink
feat(sddm): add mount unit for sddm themes to support KDE Discover in…
Browse files Browse the repository at this point in the history
…stallations
  • Loading branch information
RealVishy committed Nov 18, 2024
1 parent 34d01dc commit 99f0421
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions build_files/base/07-base-image-changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ if [[ "${BASE_IMAGE_NAME}" = "kinoite" ]]; then
rm -f /etc/profile.d/gnome-ssh-askpass.{csh,sh} # This shouldn't be pulled in
rm -f /usr/share/kglobalaccel/org.kde.konsole.desktop
systemctl enable kde-sysmonitor-workaround.service
systemctl enable usr-share-sddm-themes.mount

# Get Default Font since font fallback doesn't work
curl --retry 3 --output-dir /tmp -LO https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/FiraCode.zip
Expand Down
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 99f0421

Please sign in to comment.