aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh13
1 files changed, 13 insertions, 0 deletions
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:"