From 78d7d285a980513101210188ab3da8a4c3b512e8 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 22 Oct 2026 17:25:09 +0200 Subject: install: one function per consumer, runnable alone install.sh was one linear script, so the only way to re-theme kitty after it drifted was to reinstall everything. Each consumer is now a c_ function: `./install.sh kitty gtk` runs only those, no argument runs all of them in definition order, and `--list` prints name, software|hardware and what it themes, read off the function lines themselves. quickshell's Theme status page lists and re-applies consumers through those two calls, so a new consumer is a new function and nothing else. udt-accent now runs before the consumers with a new --no-helpers flag. Before it, every install ran it last and it started homepage, GRUB, keyboard, LED strip, bulbs and TV detached, so re-applying conky also repainted the strip. Those helpers are consumers of their own here, run in the foreground so a re-apply reports how it went; wallp still starts them all on a wallpaper change. Running the accent first means c_sublime fills the template's @ACCENT@ itself, from udt-accent.rasi. Co-Authored-By: Claude Opus 5.5 --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 9d46d54..282bdf3 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,11 @@ Both are installed by symlink, so the repo holds the canonical copies: ./install.sh +One consumer at a time, e.g. after an app rewrote its own theme: + + ./install.sh --list + ./install.sh kitty + ## Design See `docs/superpowers/specs/` for the design spec and the reasoning behind -- cgit v1.2.3