From a77f24d657a6091022754adb1b30750748132216 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 11 Sep 2026 18:42:05 +0200 Subject: feat(install): reload running apps after generating configs install.sh wrote every config and reloaded nothing, so a scheme switch looked half-applied: the files were correct but waybar, kitty, conky and dunst kept drawing the old colours until five commands were run by hand. It now signals waybar, kitty and Hyprland, runs udt-accent (which regenerates the accent and restarts dunst), and restarts conky, which has no hot-reload. Each is guarded on the process actually running, so a missing one is skipped rather than started: verified conky stays stopped when it was not up before. rofi needs nothing, it reads its theme per launch. Qt and GTK apps still need a manual restart and the README says so. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_015gbjA2bmswN8jyPDKzrvqe --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4eb59ba..c949047 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,11 @@ Edit one line in `~/.config/udt/roles.conf`: and run `./install.sh`. That file is yours, not the repo's: `install.sh` creates it on a first run and never overwrites it, so switching scheme leaves -the working tree clean. Ships with `macchiato`, `tokyo-night`, `nord` and +the working tree clean. + +`install.sh` reloads whatever is running (waybar, kitty, Hyprland, dunst, +conky), so the switch is visible immediately. Qt and GTK apps only reread a +theme on startup, so those need restarting by hand. Ships with `macchiato`, `tokyo-night`, `nord` and `dracula`; rofi, dunst, conky, waybar, kitty, Firefox and quickshell all follow. -- cgit v1.2.3