from dataclasses import dataclass from pathlib import Path import os @dataclass(frozen=True) class Config: default_target_dir: Path = Path.home() default_source_dir: Path = Path(__file__).parent.parent / "dots" default_compiled_dir: Path = Path("./.compiled_dotfiles/") script_dir: Path = Path("home/scripts") contexts: Path = Path("contexts.json") template_extension: str = ".j2" max_workers: int = (os.cpu_count() or 1) * 2