diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 13:18:31 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 13:18:31 +0200 |
| commit | b668857ba6103e539a35c970d79c9a31dca33fee (patch) | |
| tree | d7b383edb3013ca77bb9c41026c945e48d43634b /install.sh | |
| parent | b822cc3562b5277176f330587000ea5a556a4fed (diff) | |
| download | unified-desktop-theme-b668857ba6103e539a35c970d79c9a31dca33fee.tar.gz unified-desktop-theme-b668857ba6103e539a35c970d79c9a31dca33fee.zip | |
feat: print the sddm-theme-udt root install block
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -230,6 +230,19 @@ if pgrep -x conky >/dev/null 2>&1; then reloaded="$reloaded conky" fi +# SDDM. The theme code is root-installed, but the palette the greeter reads has +# to stay live, so the root block below symlinks the generated file in. Printed, +# never run: /usr/share/sddm is root-owned and this script is not. +sddm_repo="$repo/../sddm-theme-udt" +if [ -d "$sddm_repo/theme" ]; then + echo + echo "sddm theme: run these as root to install or refresh it" + echo " install -d /usr/share/sddm/themes/udt" + echo " cp -r \"$sddm_repo/theme/.\" /usr/share/sddm/themes/udt/" + echo " ln -sfn \"$HOME/.local/share/udt/sddm-theme.conf\" /usr/share/sddm/themes/udt/theme.conf.user" + echo " printf '[Theme]\\nCurrent=udt\\n' > /etc/sddm.conf.d/udt.conf" +fi + [ -n "$reloaded" ] && echo "reloaded:$reloaded" echo "installed:" |
