aboutsummaryrefslogtreecommitdiffstats
path: root/templates/dunstrc
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-11 18:32:31 +0200
committerDanilo M. <danix@danix.xyz>2026-09-11 18:32:31 +0200
commitb7a660d5587b7d23dbcfbb39d14de22eb9600754 (patch)
tree99123d900377fa06f43e08fa961901afb28b97bb /templates/dunstrc
parent1f37c129ac0b72fd2e177618ae6aed5f4233873d (diff)
downloadunified-desktop-theme-b7a660d5587b7d23dbcfbb39d14de22eb9600754.tar.gz
unified-desktop-theme-b7a660d5587b7d23dbcfbb39d14de22eb9600754.zip
fix(palette): emit the rofi palette from roles, not scheme colour names
Switching to tokyo-night broke every rofi launcher. The themes reference Catppuccin spellings (@base, @text, @surface0), and gen_rofi emitted whatever names the scheme happened to use, so under Tokyo Night the palette defined bg and fg instead and rofi refused to parse a theme referencing colours that did not exist. The names the themes ask for are now filled from roles, the same way every other consumer already worked. The spellings stay Catppuccin's because that is what the themes were written against; only the values change per scheme. Adds a selftest that collects every @name used in a colour property across the themes and asserts the generator emits it. Verified it fails when a name is removed, rather than passing vacuously, and all seven themes now parse under all four schemes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015gbjA2bmswN8jyPDKzrvqe
Diffstat (limited to 'templates/dunstrc')
0 files changed, 0 insertions, 0 deletions