7 base_path =
"tests/e2e/current/tmp/arkanjo";
12 const char* cache_env = std::getenv(
"XDG_CACHE_HOME");
13 const char* home = std::getenv(
"HOME");
30 if (std::filesystem::exists(path)) {
33 throw std::runtime_error(
"Could not locate third-party directory");
Singleton configuration manager class.
static Config & config()
Gets the singleton configuration instance.
void setDefaultConfig()
Sets default production configuration paths.
config::Theme theme
Current terminal theme.
void setTestConfig()
Sets test configuration paths.
std::string program_name
Name of the program.
fs::path third_party_dir
Directory containing third-party dependencies.
fs::path base_path
Default base path for temporary files.
static bool is_bg_color_dark()
Determines if terminal background color is dark.
Configuration management interface.
Defines utility functions used across all files.