From b668857ba6103e539a35c970d79c9a31dca33fee Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 17 Sep 2026 13:18:31 +0200 Subject: feat: print the sddm-theme-udt root install block --- install.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/install.sh b/install.sh index 33a2c0c..49c26c0 100755 --- a/install.sh +++ b/install.sh @@ -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:" -- cgit v1.2.3