From 041edc485cd81b2c564cbcaa3eb425c9ed5520e4 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 23 Sep 2026 12:46:07 +0200 Subject: 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 --- install.sh | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'install.sh') 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. # -- cgit v1.2.3