aboutsummaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-23 12:46:07 +0200
committerDanilo M. <danix@danix.xyz>2026-09-23 12:46:07 +0200
commit041edc485cd81b2c564cbcaa3eb425c9ed5520e4 (patch)
treea0b8b8c2cb52db5b1862151577a3640c75cd40e8 /install.sh
parent47dcb72c48e165154ef344588eed178c481a535c (diff)
downloadunified-desktop-theme-041edc485cd81b2c564cbcaa3eb425c9ed5520e4.tar.gz
unified-desktop-theme-041edc485cd81b2c564cbcaa3eb425c9ed5520e4.zip
feat: stage the wallpaper on homepage and notify on completion
bin/udt-homepage replaces install.sh's inline scp. It stages custom.css and the current wallpaper, keeping the wallpaper's own extension, then raises a desktop notification with the root commands that install both and point settings.yaml at the new background. Plain root commands, not sudo: the login user on that host has no sudo rights. udt-accent starts it detached on every run, so it follows a wallpaper change (wallp) as well as a scheme switch (install.sh) without holding either up when the host is unreachable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/install.sh b/install.sh
index 6fba4db..7b68ad6 100755
--- a/install.sh
+++ b/install.sh
@@ -175,22 +175,6 @@ ln -sfn "$gtk_theme/gtk-4.0" "$HOME/.config/gtk-4.0/theme"
# already listed there. Skipped silently when neither app is installed.
"$repo/bin/udt-appthemes" || true
-# Stage the homepage stylesheet on the dashboard host. Staged, not installed:
-# /opt/homepage/config is root-owned and this script does not hold root there.
-# Never fatal, and never slow: a laptop away from that network must still be
-# able to install the local theme, so the connect timeout is short and any
-# failure is a warning.
-if command -v scp >/dev/null 2>&1; then
- if scp -q -o ConnectTimeout=5 -o BatchMode=yes \
- "$repo/templates/homepage/custom.css" \
- homepage:hp-stage/custom.css 2>/dev/null; then
- echo "homepage: staged custom.css ($scheme)"
- echo " finish with: ssh homepage 'sudo cp ~/hp-stage/custom.css /opt/homepage/config/custom.css'"
- else
- echo "homepage: unreachable, skipped" >&2
- fi
-fi
-
# conky reads one config at startup and never rereads it, so the generated file
# has to be in place before the restart below.
#