diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-15 17:08:37 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-15 17:08:37 +0200 |
| commit | 1db739eaf7c2155cee80084183a0a0bbe590d3cd (patch) | |
| tree | 163be1b0a555ff5a990cea40ccf04c897fbde6a2 /AGENTS.md | |
| parent | a9f3e65355b64577044467ca70ca16d00fba016b (diff) | |
| download | unified-desktop-theme-1db739eaf7c2155cee80084183a0a0bbe590d3cd.tar.gz unified-desktop-theme-1db739eaf7c2155cee80084183a0a0bbe590d3cd.zip | |
fix(waybar): drop the per-module colours, and aim at the bar that runs
The bar these roles existed for is gone. The stock one alternated module
backgrounds so it read as stripes, and carried a role for each: workspaces,
temperature, memory, cpu, time, date, tray, volume, backlight, battery, plus
charging. waybar-theme-udt draws every pill on main_bg, and its stylesheets
reference seven names in total, none of them a module. So all eleven had no
consumer left in any of the nine schemes.
They are deleted rather than renamed. Renaming them after the new bar's
modules would have invented consumers that do not exist: nothing reads a
"mail" or "launcher" colour, because the pills are deliberately uniform.
Re-adding one means a stylesheet that actually references it.
install.sh was still writing the theme into ~/.config/waybar/, which hyprland
no longer launches, so switching scheme recoloured a bar nobody sees while the
running one kept its old palette. It writes to ~/.config/waybar-udt/ now,
under the fixed name that bar imports, so there is no import to repoint.
The stock directory is left exactly as it was, and deliberately gets no new
theme: its stylesheets still ask for the per-module names, so writing one
there would leave it referencing colours that no longer exist.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -197,10 +197,13 @@ them by exit code: rofi exits non-zero for ordinary reasons such as Escape. - **`wallp` starts `swaybg` in the background**, which inherits the shell's stdout, so a pipe or command substitution appears to hang after `wallp` has already finished. Redirect its output when calling it from a script. -- **waybar's own CLAUDE.md documents a stale CSS load order.** The - `modules-*.css` and `states.css` files it names are not imported by anything; - `style.css` pulls in `styles/main.css`. One of the dead files holds a - `font-family` that looks authoritative but does nothing. +- **The bar is not in `~/.config/waybar/`.** It is `waybar-theme-udt`, a + separate repository with its own config directory, `~/.config/waybar-udt/`, + and hyprland's autostart launches that. The stock directory is still on disk + and nothing reads it, so `install.sh` deliberately writes no theme into it: + its stylesheets reference the per-module role names this generator no longer + emits, and a new theme there would leave it pointing at colours that do not + exist. See `templates/waybar/README.md`. ## Editing rules |
