diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-15 17:35:15 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-15 17:35:15 +0200 |
| commit | a183b4a054d96f310d867b79d7b9fb7a6b875bb8 (patch) | |
| tree | 89a1824c95850234c51521a35136eb96a760c00f /rofi/udt/launcher.rasi | |
| parent | 1db739eaf7c2155cee80084183a0a0bbe590d3cd (diff) | |
| download | unified-desktop-theme-a183b4a054d96f310d867b79d7b9fb7a6b875bb8.tar.gz unified-desktop-theme-a183b4a054d96f310d867b79d7b9fb7a6b875bb8.zip | |
fix(waybar): call the bar's installer instead of copying one file
The palette reaches the bar as three generated files, not one: the stylesheet,
dots.colors for the two dot scripts, which are bash and cannot read
@define-color, and two tints of the Slackware mark, which has to contrast with
the accent pill at rest and the dark pill on hover.
Copying only the stylesheet meant a scheme switch recoloured every pill and
left the dots and the mark on the previous scheme. Generating the other two
here would have put a second writer on files the bar's own install.sh already
writes, drifting apart the moment either side was edited. So this calls that
script rather than reimplementing it, with UDT_PALETTE_DONE=1 so it skips the
palette run this one has just done.
Never fatal, like udt-appthemes: a failure there warns and leaves the bar on
its old colours rather than stopping kitty, Kvantum and Sublime from being
themed.
Verified by switching tokyo-night to nord and back with only this script: the
accent, DOT_SUCCESS and both mark tints followed in each direction.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'rofi/udt/launcher.rasi')
0 files changed, 0 insertions, 0 deletions
