Skip to content

Commit

Permalink
feat: add workaround for sddm theme (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamyukii committed Jan 20, 2025
1 parent 2c2fb39 commit 5b3d3c7
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions build_files/base/17-cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ systemctl enable brew-setup.service
systemctl enable brew-upgrade.timer
systemctl enable brew-update.timer
systemctl enable aurora-groups.service
systemctl enable usr-share-sddm-themes.mount
systemctl --global enable ublue-user-setup.service
systemctl --global enable podman-auto-update.timer
systemctl enable check-sb-key.service
Expand Down
1 change: 1 addition & 0 deletions just/aurora-apps.just
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ install-opentabletdriver:
flatpak --system install -y flathub net.opentabletdriver.OpenTabletDriver && \
mkdir -p $HOME/.config/OpenTabletDriver && \
flatpak override --user --filesystem=xdg-config/OpenTabletDriver net.opentabletdriver.OpenTabletDriver && \
mkdir -p $HOME/.config/systemd/user && \
curl -s https://raw.githubusercontent.com/flathub/net.opentabletdriver.OpenTabletDriver/refs/heads/master/scripts/opentabletdriver.service > ~/.config/systemd/user/opentabletdriver.service && \
systemctl --user daemon-reload && \
systemctl enable --user --now opentabletdriver.service
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 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 /var
ConditionPathExists=/usr/share/sddm
ConditionPathExists=/var/sddm_themes/themes
ConditionPathExists=/var/sddm_themes/themes.work
PartOf=aurora-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
Original file line number Diff line number Diff line change
@@ -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 - - -

0 comments on commit 5b3d3c7

Please sign in to comment.