-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add workaround for sddm theme (again) (#139)
* feat: add workaround for sddm theme (again) * fix: small fix for opentabletdriver --------- Co-authored-by: Juha Uotila <[email protected]>
- Loading branch information
1 parent
b9258c4
commit 96911f4
Showing
4 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
system_files/shared/usr/lib/systemd/system/usr-share-sddm-themes.mount
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
6 changes: 6 additions & 0 deletions
6
system_files/shared/usr/lib/tmpfiles.d/usr-share-sddm-themes.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 - - - |