Structs§
- Chromasync
Config - Defines sync profiles and records where each configured target writes its generated artifacts.
- Config
Hook - One command hook under
[[hooks]]. - Config
Target - One row of the chromasync config under
[[targets]]. - Install
Summary - Summary of a successful
install_targetcall, for echoing back to the user. - Listed
Target - Output
Registry - Pack
Info - Pack
Registry - Resolved
Artifact - A single artifact paired with the directory it should be written to and whether existing files may be overwritten.
- Routed
Artifact - A generated artifact paired with its target-specific write policy.
- Sync
Profile - One runnable generation profile under
[[configs]].
Enums§
- Core
Error - Hook
Events - Hook event list that accepts either
on = "event"oron = ["event"]. - Pack
Error - Sync
Mode - Sync profile mode.
Autois deliberately separate fromThemeModebecause resolving the user’s current desktop preference belongs at the CLI boundary.
Functions§
- config_
file_ path - Path to the managed chromasync config file, if a user config directory can be located.
- expand_
tilde - Expand a leading
~or~/to the user’s home directory. - export_
tokens - generate
- generate_
from_ wallpaper - generate_
from_ wallpaper_ with_ output_ registry - generate_
palette - generate_
routed_ with_ output_ registry - Generate artifacts with a target-specific output route while sharing the expensive palette preparation across every target.
- generate_
with_ output_ registry - install_
target - Install a target TOML into the user config and record its output directory.
- list_
packs - list_
targets - list_
templates - load_
output_ registry - pack_
info - pack_
search_ roots - palette_
from_ extracted_ seeds - Compose a palette from ranked image seed candidates.
- preview
- write_
artifacts - Write generated artifacts into
output_dir. - write_
resolved_ artifacts - Write artifacts to their individually resolved destinations.