zut.path.get_app_config_dir

zut.path.get_app_config_dir(prog: str) Path

Base application directory for configuration files: - $CONFIG_ROOT/{prog} if $CONFIG_ROOT is set - $XDG_CONFIG_HOME/{prog} (or $APPDATA/{prog} on Windows) or their defaults (~/.config/{prog} or ~AppDataRoaming{prog}) in a user-scoped context - /etc/{prog} (or %PROGRAMDATA%/{prog} on Windows) in a system-scoped context