summaryrefslogtreecommitdiff
path: root/src/caelestia/utils/theme.py
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-11 22:48:09 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-11 22:48:09 +1000
commit2161e3ee6b61c0ebd56142ccd9502404d3ee1314 (patch)
tree0689a9072ea145f037897b49405c71b3bf18778d /src/caelestia/utils/theme.py
parentfeat: theme btop (diff)
downloadcaelestia-cli-2161e3ee6b61c0ebd56142ccd9502404d3ee1314.tar.gz
caelestia-cli-2161e3ee6b61c0ebd56142ccd9502404d3ee1314.tar.bz2
caelestia-cli-2161e3ee6b61c0ebd56142ccd9502404d3ee1314.zip
theme: better spicetify colours
Diffstat (limited to '')
-rw-r--r--src/caelestia/utils/theme.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/caelestia/utils/theme.py b/src/caelestia/utils/theme.py
index 7f29637..3250ea3 100644
--- a/src/caelestia/utils/theme.py
+++ b/src/caelestia/utils/theme.py
@@ -97,8 +97,8 @@ def apply_discord(scss: str) -> None:
try_write(config_dir / client / "themes/caelestia.theme.css", conf)
-def apply_spicetify(colours: dict[str, str]) -> None:
- template = gen_replace(colours, templates_dir / "spicetify.ini")
+def apply_spicetify(colours: dict[str, str], mode: str) -> None:
+ template = gen_replace(colours, templates_dir / f"spicetify-{mode}.ini")
try_write(config_dir / "spicetify/Themes/caelestia/color.ini", template)
@@ -113,10 +113,10 @@ def apply_btop(colours: dict[str, str]) -> None:
subprocess.run(["killall", "-USR2", "btop"])
-def apply_colours(colours: dict[str, str]) -> None:
+def apply_colours(colours: dict[str, str], mode: str) -> None:
apply_terms(gen_sequences(colours))
apply_hypr(gen_conf(colours))
apply_discord(gen_scss(colours))
- apply_spicetify(colours)
+ apply_spicetify(colours, mode)
apply_fuzzel(colours)
apply_btop(colours)