mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-05 23:09:27 -05:00
fix: apply mode substitution after dynamic template fill (#84)
This commit is contained in:
@@ -59,7 +59,7 @@ def gen_replace_dynamic(colours: dict[str, str], template: Path, mode: str) -> s
|
||||
template_content = template.read_text()
|
||||
|
||||
template_filled = re.sub(dotField, fill_colour, template_content)
|
||||
template_filled = re.sub(modeField, mode, template_content)
|
||||
template_filled = re.sub(modeField, mode, template_filled)
|
||||
|
||||
return template_filled
|
||||
|
||||
|
||||
Reference in New Issue
Block a user