import os def config_home() -> str: return os.path.expanduser(os.environ.get("XDG_CONFIG_HOME", "~/.config")) def state_home() -> str: return os.path.expanduser( os.environ.get("XDG_STATE_HOME", "~/.local/state") ) def config_path(*parts: str) -> str: return os.path.join(config_home(), *parts) def state_path(*parts: str) -> str: return os.path.join(state_home(), *parts) def style_overlay_ignis_dir() -> str: return state_path("exo", "styles-overlay", "ignis") def style_overlay_styles_dir() -> str: return os.path.join(style_overlay_ignis_dir(), "styles") def style_overlay_main_scss() -> str: return os.path.join(style_overlay_styles_dir(), "main.scss") def style_overlay_colors_scss() -> str: return os.path.join(style_overlay_ignis_dir(), "colors.scss") def style_overlay_lighttheme_scss() -> str: return os.path.join(style_overlay_styles_dir(), "lightthemeoverrides.scss") def style_overlay_preview_colors_scss() -> str: return os.path.join(style_overlay_styles_dir(), "preview-colors.scss")